Version initiale fonctionnelle
This commit is contained in:
parent
b9877d1550
commit
4293be9208
9 changed files with 103 additions and 89 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM python:3.10.5-slim-buster
|
||||
|
||||
WORKDIR /python-docker
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"]
|
Loading…
Add table
Add a link
Reference in a new issue