mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-20 23:41:20 +00:00
13 lines
No EOL
270 B
Docker
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()"] |