mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 00:52:43 +01:00
fix docker builds (#4249)
Updates php to 8.1 Resolves the issue when running docker-compose unconfigured redirects to https.
This commit is contained in:
parent
1250713299
commit
eb503c5523
@ -10,7 +10,7 @@ RUN yarn install --frozen-lockfile \
|
|||||||
|
|
||||||
# Stage 1:
|
# Stage 1:
|
||||||
# Build the actual container with all of the needed PHP dependencies that will run the application.
|
# Build the actual container with all of the needed PHP dependencies that will run the application.
|
||||||
FROM --platform=$TARGETOS/$TARGETARCH php:7.4-fpm-alpine
|
FROM --platform=$TARGETOS/$TARGETARCH php:8.1-fpm-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . ./
|
COPY . ./
|
||||||
COPY --from=0 /app/public/assets ./public/assets
|
COPY --from=0 /app/public/assets ./public/assets
|
||||||
|
@ -8,7 +8,7 @@ x-common:
|
|||||||
MYSQL_ROOT_PASSWORD: "CHANGE_ME_TOO"
|
MYSQL_ROOT_PASSWORD: "CHANGE_ME_TOO"
|
||||||
panel:
|
panel:
|
||||||
&panel-environment
|
&panel-environment
|
||||||
APP_URL: "https://example.com"
|
APP_URL: "http://example.com"
|
||||||
# A list of valid timezones can be found here: http://php.net/manual/en/timezones.php
|
# A list of valid timezones can be found here: http://php.net/manual/en/timezones.php
|
||||||
APP_TIMEZONE: "UTC"
|
APP_TIMEZONE: "UTC"
|
||||||
APP_SERVICE_AUTHOR: "noreply@example.com"
|
APP_SERVICE_AUTHOR: "noreply@example.com"
|
||||||
|
Loading…
Reference in New Issue
Block a user