mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-02 22:33:05 +00:00
13 lines
No EOL
272 B
Docker
13 lines
No EOL
272 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()'"] |