12 lines
230 B
Docker
12 lines
230 B
Docker
|
# 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"]
|