Skip to content

Commit eb503c5

Browse files
authored
fix docker builds (pterodactyl#4249)
Updates php to 8.1 Resolves the issue when running docker-compose unconfigured redirects to https.
1 parent 1250713 commit eb503c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN yarn install --frozen-lockfile \
1010

1111
# Stage 1:
1212
# Build the actual container with all of the needed PHP dependencies that will run the application.
13-
FROM --platform=$TARGETOS/$TARGETARCH php:7.4-fpm-alpine
13+
FROM --platform=$TARGETOS/$TARGETARCH php:8.1-fpm-alpine
1414
WORKDIR /app
1515
COPY . ./
1616
COPY --from=0 /app/public/assets ./public/assets

docker-compose.example.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ x-common:
88
MYSQL_ROOT_PASSWORD: "CHANGE_ME_TOO"
99
panel:
1010
&panel-environment
11-
APP_URL: "https://example.com"
11+
APP_URL: "http://example.com"
1212
# A list of valid timezones can be found here: http://php.net/manual/en/timezones.php
1313
APP_TIMEZONE: "UTC"
1414
APP_SERVICE_AUTHOR: "[email protected]"

0 commit comments

Comments
 (0)