Removed entrypoint
This commit is contained in:
parent
c022086e93
commit
ad1cddaf40
|
@ -6,7 +6,8 @@ LABEL maintainer="<Muhamad Aditya Prima> aprimediet@gmail.com"
|
||||||
|
|
||||||
ENV PHP_FPM_BIN=php-fpm${PHP_VERSION}
|
ENV PHP_FPM_BIN=php-fpm${PHP_VERSION}
|
||||||
|
|
||||||
WORKDIR /root
|
# Set workdir
|
||||||
|
WORKDIR /
|
||||||
|
|
||||||
# INSTALL PHP APP
|
# INSTALL PHP APP
|
||||||
RUN --mount=type=cache,target=/var/cache/apk \
|
RUN --mount=type=cache,target=/var/cache/apk \
|
||||||
|
@ -27,6 +28,4 @@ RUN chmod +x /usr/local/bin/php-fpm-init
|
||||||
# CLEAN APK CACHES
|
# CLEAN APK CACHES
|
||||||
RUN rm -vrf /var/cache/apk/*
|
RUN rm -vrf /var/cache/apk/*
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/php-fpm-init"]
|
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
|
@ -6,7 +6,7 @@ LABEL maintainer="<Muhamad Aditya Prima> aprimediet@gmail.com"
|
||||||
|
|
||||||
ENV PHP_FPM_BIN=php-fpm${PHP_VERSION}
|
ENV PHP_FPM_BIN=php-fpm${PHP_VERSION}
|
||||||
|
|
||||||
# Set workdir at
|
# Set workdir
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
# INSTALL BASE DEPENDENCIES
|
# INSTALL BASE DEPENDENCIES
|
||||||
|
@ -27,7 +27,4 @@ RUN chmod +x /usr/local/bin/php-fpm-init
|
||||||
# CLEAN APT CACHE
|
# CLEAN APT CACHE
|
||||||
RUN apt -y clean
|
RUN apt -y clean
|
||||||
|
|
||||||
# COPY INIT SCRIPT
|
|
||||||
ENTRYPOINT ["/usr/local/bin/php-fpm-init"]
|
|
||||||
|
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
Reference in New Issue