first commit

This commit is contained in:
Valentin
2023-05-15 04:43:37 +02:00
commit f6d0a9c4ae
12 changed files with 894 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM php:8.1-fpm-alpine
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
RUN chmod +x /usr/local/bin/install-php-extensions && \
install-php-extensions mysqli exif imagick zip memcached opcache redis intl xdebug && \
echo "xdebug.mode=debug" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && \
echo "xdebug.client_host=host.docker.internal" >> /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
RUN apk add --update nodejs npm
WORKDIR /app/public