16 lines
272 B
Docker
16 lines
272 B
Docker
FROM python:3.9
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . /app/
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
ENV DB_URI="sqlite:///anot_db.db"
|
|
ENV SECRET_KEY="random_secret_key"
|
|
|
|
EXPOSE 5050
|
|
|
|
CMD ["gunicorn", "--bind","0.0.0.0:5050","app:app"]
|
|
#ENTRYPOINT ["tail", "-f", "/dev/null"]
|