Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bradjohnl authored Nov 8, 2023
1 parent 07b7ebc commit 8c76c87
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ COPY --chown=nginx --from=build-php /app .
RUN sed -i 's/;extension=zip/extension=zip/' /etc/php81/php.ini \
&& sed -i 's/;extension=bcmath/extension=bcmath/' /etc/php81/php.ini \
&& chmod -R 775 . \
&& chown -R nginx:nginx . \
&& chown -R nginx:nginx /var/log/nginx
&& chown -R nginx:nginx .

USER nobody

HEALTHCHECK --interval=5s --timeout=3s --start-period=5s --retries=3 CMD curl --fail http://localhost:8090/ || exit 1

Expand Down

0 comments on commit 8c76c87

Please sign in to comment.