Skip to content

Commit

Permalink
docker update alpine 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Wojczal committed Jan 10, 2025
1 parent 41e0d26 commit 7e6b940
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM escolalms/php:8.3-bookworm
FROM escolalms/php:8.3-alpine
WORKDIR /var/www/html
EXPOSE 9000
COPY / /var/www/html
COPY docker/docker-entrypoint.sh /docker-entrypoint.sh
RUN \
cp docker/conf/supervisor/supervisord.conf /etc/supervisord.conf \
&& cp docker/conf/php/escolalms-custom-php.ini /usr/local/etc/php/conf.d/escolalms-custom-php.ini \
&& cp docker/conf/php/php-fpm-custom.conf /usr/local/etc/php-fpm.d/php-fpm-custom.conf
RUN composer install --no-scripts
RUN composer install --no-scripts --no-dev

CMD /var/www/html/init.sh

Expand Down
5 changes: 1 addition & 4 deletions Dockerfile.develop
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@ FROM escolalms/php:8.3-alpine
WORKDIR /var/www/html
EXPOSE 9000
COPY / /var/www/html
COPY docker/docker-entrypoint.sh /docker-entrypoint.sh
RUN docker-php-ext-install opcache
RUN pecl install excimer apcu
RUN docker-php-ext-enable apcu
RUN pecl install excimer
RUN \
cp docker/conf/supervisor/supervisord.conf /etc/supervisord.conf \
&& cp docker/conf/php/escolalms-custom-php.ini /usr/local/etc/php/conf.d/escolalms-custom-php.ini \
Expand Down

0 comments on commit 7e6b940

Please sign in to comment.