pin sevice to ipv4 #50
@ -8,7 +8,7 @@ RUN npm install \
|
||||
|
||||
FROM nginx:1.23.3-alpine as prod
|
||||
LABEL maintainer="marco.blessing@googlemail.com"
|
||||
HEALTHCHECK --interval=15s --timeout=5s \
|
||||
CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
||||
#HEALTHCHECK --interval=15s --timeout=5s \
|
||||
# CMD wget --no-verbose --tries=1 --spider http://localhost:80/ || exit 1
|
||||
COPY --from=builder src/public /usr/share/nignx/html/
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
@ -5,7 +5,7 @@ http {
|
||||
include mime.types;
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen 0.0.0.0:80;
|
||||
root /usr/share/nignx/html;
|
||||
index index.html;
|
||||
error_page 404 /404.html;
|
||||
|
Loading…
Reference in New Issue
Block a user