mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-24 23:51:03 +00:00
Add Containerfile
This commit is contained in:
parent
131d22771f
commit
a4b760ded0
2 changed files with 12 additions and 0 deletions
1
.containerignore
Normal file
1
.containerignore
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.*
|
11
Containerfile
Normal file
11
Containerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM docker.io/library/python:3.11-slim
|
||||||
|
|
||||||
|
COPY . /volumes/repo
|
||||||
|
|
||||||
|
WORKDIR /volumes/repo
|
||||||
|
|
||||||
|
RUN pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
EXPOSE 80
|
||||||
|
|
||||||
|
CMD ["gunicorn", "--bind", "0.0.0.0:80", "--workers", "5", "--log-file", "/volumes/logs/gunicorn.log", "'run:create_app()'"]
|
Loading…
Reference in a new issue