pin sevice to ipv4 (#50)
#### 📖 Summary <!-- Provide a summary of your changes. Describe the why and not how. --> - workaround for ipv6 issue after updating docker - disable healtcheck due to timing issues #### 📑 Test Plan > 💡 Select your test plan for the code changes. - [x] CI pipeline - [ ] Custom test - [ ] No test plan ##### Details / Justification <!-- Add your test details or justification for missing tests here. --> #### 📚 Additional Notes <!-- A place for additional detail notes. --> Reviewed-on: #50
This commit is contained in:
parent
be103753f5
commit
ad2d82e5aa
@ -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