add curl
This commit is contained in:
1 parent
52352dd943
commit
282d6bfc5c
2 files changed
+2
-1
No files matched your search
@@ -27,6 +27,7 @@ COPY --from=builder /app/pyproject.toml /app/poetry.lock ./
|
||||
COPY . /app
|
||||
|
||||
RUN mkdir -p /data && chown appuser:appuser /data
|
||||
RUN apt update && apt install -y curl
|
||||
|
||||
ENV PATH="/app/.venv/bin:$PATH"
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ services:
|
||||
ports:
|
||||
- "8000:8000"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
||||
Reference in new issue
Block a user