1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00
AdvLabDB/Containerfile

13 lines
270 B
Text
Raw Normal View History

2022-11-19 13:09:11 +00:00
FROM docker.io/library/python:3.11-slim
2022-11-19 14:44:36 +00:00
EXPOSE 80
2022-11-19 13:09:11 +00:00
WORKDIR /volumes/repo
2022-11-19 14:44:36 +00:00
COPY requirements.txt .
2022-11-19 13:09:11 +00:00
RUN pip3 install -r requirements.txt
2022-11-19 14:44:36 +00:00
COPY . .
2022-11-19 13:09:11 +00:00
2022-11-19 15:42:56 +00:00
CMD ["gunicorn", "--bind", "0.0.0.0:80", "--workers", "5", "--log-file", "/volumes/logs/gunicorn.log", "run:create_app()"]