Installing curl into archive container so health check works.

This commit is contained in:
Roland 2021-11-09 13:27:22 -07:00
parent d4f09e057e
commit 7807c44fad
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
2 changed files with 2 additions and 2 deletions

View file

@ -40,7 +40,7 @@ services:
ports:
- '8083:8080'
healthcheck:
test: [ 'CMD-SHELL', 'curl http://0.0.0.0:8080/' ]
test: [ 'CMD-SHELL', 'curl http://127.0.0.1:8080/' ]
app:
depends_on:

View file

@ -5,7 +5,7 @@ WORKDIR /app
# Install Python for main.py
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 python3-dev && ln -sf python3 /usr/bin/python
RUN apk add --update --no-cache python3 python3-dev curl && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools