pin sevice to ipv4 #50

Merged
OCram85 merged 2 commits from fix/ipv4 into master 2024-03-24 09:24:17 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ RUN npm install \
FROM nginx:1.23.3-alpine as prod FROM nginx:1.23.3-alpine as prod
LABEL maintainer="marco.blessing@googlemail.com" LABEL maintainer="marco.blessing@googlemail.com"
HEALTHCHECK --interval=15s --timeout=5s \ #HEALTHCHECK --interval=15s --timeout=5s \
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1 # CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
COPY --from=builder src/public /usr/share/nignx/html/ COPY --from=builder src/public /usr/share/nignx/html/
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf

View File

@ -5,7 +5,7 @@ http {
include mime.types; include mime.types;
server { server {
listen 80; listen 0.0.0.0:80;
root /usr/share/nignx/html; root /usr/share/nignx/html;
index index.html; index index.html;
error_page 404 /404.html; error_page 404 /404.html;