13 lines
234 B
Docker
13 lines
234 B
Docker
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
|
|
|
|
ENTRYPOINT [ "gunicorn", "--chdir=/app", "--bind=127.0.0.1:8080", "main:app" ] |