1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2025-03-15 19:48:10 +00:00
AdvLabDB/Containerfile

13 lines
272 B
Text
Raw Normal View History

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