ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / |
CMD ["/bin/sh"] |
RUN /bin/sh -c apk update && apk upgrade # buildkit |
RUN /bin/sh -c apk add bash # buildkit |
RUN /bin/sh -c apk add nginx # buildkit |
RUN /bin/sh -c apk add php82 php82-fpm php82-opcache # buildkit |
RUN /bin/sh -c apk add php82-gd php82-zlib php82-curl php82-bz2 php82-gettext php82-ldap php82-mbstring php82-pdo php82-pdo_mysql php82-session php82-xml # buildkit |
COPY nginx /etc/nginx # buildkit |
COPY php /etc/php8.2 # buildkit |
RUN /bin/sh -c mkdir /var/run/php # buildkit |
EXPOSE map[80/tcp:{}] |
STOPSIGNAL SIGTERM |
CMD ["/bin/bash" "-c" "php-fpm82 && chmod 777 /app && nginx -g 'daemon off;'"] |