diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 9a991ac..604b390 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -6,7 +6,8 @@ LABEL maintainer=" aprimediet@gmail.com" ENV PHP_FPM_BIN=php-fpm${PHP_VERSION} -WORKDIR /root +# Set workdir +WORKDIR / # INSTALL PHP APP RUN --mount=type=cache,target=/var/cache/apk \ @@ -27,6 +28,4 @@ RUN chmod +x /usr/local/bin/php-fpm-init # CLEAN APK CACHES RUN rm -vrf /var/cache/apk/* -ENTRYPOINT ["/usr/local/bin/php-fpm-init"] - EXPOSE 9000 \ No newline at end of file diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index f63bf9b..414d73d 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -6,7 +6,7 @@ LABEL maintainer=" aprimediet@gmail.com" ENV PHP_FPM_BIN=php-fpm${PHP_VERSION} -# Set workdir at +# Set workdir WORKDIR / # INSTALL BASE DEPENDENCIES @@ -27,7 +27,4 @@ RUN chmod +x /usr/local/bin/php-fpm-init # CLEAN APT CACHE RUN apt -y clean -# COPY INIT SCRIPT -ENTRYPOINT ["/usr/local/bin/php-fpm-init"] - EXPOSE 9000 \ No newline at end of file