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