This commit is contained in:
azure 2025-10-16 14:40:32 +00:00 committed by GitHub
commit dba387427b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -28,4 +28,7 @@ FROM nginx:stable-alpine
COPY ./nginx/default.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/build /usr/share/nginx/html
COPY --from=builder /app/build /usr/share/nginx/html
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD curl --fail --silent --output /dev/null http://localhost || exit 1

View File

@ -1,5 +1,6 @@
server {
listen 80;
listen [::]:80;
server_name vert;
root /usr/share/nginx/html;