1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-02 22:33:05 +00:00
AdvLabDB/Containerfile
2022-11-19 16:42:56 +01:00

13 lines
No EOL
270 B
Docker

FROM docker.io/library/python:3.11-slim
EXPOSE 80
WORKDIR /volumes/repo
COPY requirements.txt .
RUN pip3 install -r requirements.txt
COPY . .
CMD ["gunicorn", "--bind", "0.0.0.0:80", "--workers", "5", "--log-file", "/volumes/logs/gunicorn.log", "run:create_app()"]