emoji-flask-app/Dockerfile

12 lines
230 B
Docker
Raw Normal View History

2022-06-12 04:32:21 +00:00
# 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"]