fix: build

This commit is contained in:
u00lipp committed 2025-10-23 10:28:00 +02:00
1 parent 4ae6948b03
commit 341c1d2fa8
2 files changed
+7 -9

No files matched your search

+5 -1
View File
@@ -10,7 +10,7 @@
fi
# -------- 2) App source --------
FROM alpine:3.20 AS app_src
FROM alpine:3.22 AS app_src
WORKDIR /app
COPY . ./
@@ -88,6 +88,10 @@ php -r "unlink('composer-setup.php');"
RUN apk add --no-cache nodejs npm
RUN composer run setup
# Ensure the .env file is not copied into the image
# Add this line to explicitly remove the .env file if it exists
RUN rm -f /var/www/html/.env
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=5s --retries=5 \
CMD curl -fsS http://localhost/healthz || exit 10