jedoist-client/Dockerfile

13 lines
238 B
Docker
Raw Normal View History

2024-06-06 00:08:10 +03:00
FROM python:3.10
RUN apt-get install libpq-dev -y
ADD requirements.txt requirements.txt
RUN pip install -r requirements.txt
ADD src /app
WORKDIR /app
2024-06-14 01:55:30 +03:00
ENTRYPOINT [ "gunicorn", "--chdir=/app/src", "--bind=127.0.0.1:8080", "main:app" ]