Skip to content

Commit

Permalink
Fix development containers
Browse files Browse the repository at this point in the history
  • Loading branch information
mintopia committed Nov 18, 2023
1 parent 000c0e7 commit 39e3276
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion docker/develop/Dockerfile.nginx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM ghcr.io/mintopia/php-docker-nginx:latest
LABEL maintainer="jess@mintopia.net"

RUN rm /etc/nginx/conf.d/default.conf
COPY docker/default.conf /etc/nginx/templates/conf.d/default.conf.template
2 changes: 1 addition & 1 deletion docker/develop/Dockerfile.php-fpm
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ RUN apk update \
&& docker-php-ext-enable xdebug \
&& rm -rf /tmp/pear \
&& apk del --no-cache ${PHPIZE_DEPS} \
&& rm -vrf /tmp/pear /var/cache/apk/* \
&& rm -vrf /tmp/pear /var/cache/apk/*

USER 1000
1 change: 0 additions & 1 deletion docker/production/Dockerfile.nginx
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ LABEL maintainer="jess@mintopia.net"

COPY --from=build --chown=1000:1000 /app/ /var/www

RUN rm /etc/nginx/conf.d/default.conf
COPY docker/default.conf /etc/nginx/templates/conf.d/default.conf.template

0 comments on commit 39e3276

Please sign in to comment.