Initial commit
This commit is contained in:
9
deploy/Dockerfile
Normal file
9
deploy/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM docker.sciocatti.com/python-3.8-fastapi:0.0.1
|
||||
|
||||
WORKDIR /project
|
||||
COPY static/ static/
|
||||
COPY src/ src/
|
||||
COPY html/ html/
|
||||
COPY main.py main.py
|
||||
|
||||
CMD . /venv/bin/activate && cd /project && exec python main.py
|
||||
Reference in New Issue
Block a user