Create docker configuration
This commit is contained in:
1 parent
4ae2905b48
commit
b1a0edb474
2 files changed
+36
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
FROM php:8.4-fpm
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git unzip libzip-dev libpng-dev libonig-dev \
|
||||
&& docker-php-ext-install pdo_mysql zip
|
||||
|
||||
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
||||
|
||||
WORKDIR /var/www
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN composer install --no-dev --optimize-autoloader
|
||||
Reference in new issue
Block a user