BP2024/annotation_app/Dockerfile
2024-04-11 17:31:10 +02:00

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"]