2024-04-09 13:39:11 +00:00
|
|
|
FROM python:3.9
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY . /app/
|
|
|
|
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
2024-04-10 09:24:16 +00:00
|
|
|
ENV DB_URI="sqlite:///anot_db.db"
|
|
|
|
ENV SECRET_KEY="random_secret_key"
|
2024-04-09 13:39:11 +00:00
|
|
|
|
|
|
|
EXPOSE 5050
|
|
|
|
|
2024-04-11 15:31:10 +00:00
|
|
|
CMD ["gunicorn", "--bind","0.0.0.0:5050","app:app"]
|
|
|
|
#ENTRYPOINT ["tail", "-f", "/dev/null"]
|