Fix Dockerfile to work on IPv4 only
This commit is contained in:
parent
b4a90c9a90
commit
5f5e8368e6
|
|
@ -23,6 +23,7 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||||
|
|
||||||
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
||||||
CMD wget --quiet --tries=1 --spider http://localhost/ || exit 1
|
CMD wget -q -O /dev/null http://127.0.0.1/ || exit 1
|
||||||
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue