Skip to content

Commit

Permalink
Update FrankenPHP.Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
smortexa authored Jan 18, 2024
1 parent 35d0e00 commit 8eb73e4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions FrankenPHP.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Accepted values: 8.3 - 8.2 - 8.1
ARG PHP_VERSION=8.2

ARG NODE_VERSION=20-alpine

ARG COMPOSER_VERSION=latest
Expand Down Expand Up @@ -31,7 +34,7 @@ RUN npm run build

###########################################

FROM php:8.3.1-cli-bookworm
FROM php:${PHP_VERSION}-cli-bookworm

LABEL maintainer="SMortexa <[email protected]>"

Expand Down Expand Up @@ -192,4 +195,4 @@ EXPOSE 80

ENTRYPOINT ["start-container"]

HEALTHCHECK --start-period=5s --interval=2s --timeout=5s --retries=8 CMD php artisan octane:status || exit 1
HEALTHCHECK --start-period=5s --interval=2s --timeout=5s --retries=8 CMD php artisan octane:status || exit 1

0 comments on commit 8eb73e4

Please sign in to comment.