Compare commits
2 Commits
59672292e2
...
520416b772
Author | SHA1 | Date | |
---|---|---|---|
|
520416b772 | ||
|
3f17f7f0b7 |
@ -4,6 +4,8 @@ FROM amd64/python:3.9-buster as project_env
|
||||
# Set the working directory in the container
|
||||
WORKDIR /app
|
||||
|
||||
ENV FLASK_ENV=production
|
||||
|
||||
# Install dependencies
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip install --upgrade pip setuptools \
|
||||
|
@ -6,7 +6,7 @@ services:
|
||||
ports:
|
||||
- "8080:8080"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8080/inference/ETH"]
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8080/inference/ETH/10m"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
|
Loading…
Reference in New Issue
Block a user