Update: Docker Compose (without Frontend now)
This commit is contained in:
parent
f1ae473b40
commit
bce2237303
12 changed files with 54 additions and 281 deletions
7
backend/Dockerfile
Normal file
7
backend/Dockerfile
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
FROM python:latest
|
||||
WORKDIR /data/backend
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install -r requirements.txt
|
||||
COPY . .
|
||||
CMD [ "python", "-m" , "flask", "run", "--host=0.0.0.0"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue