emoji-flask-app/Dockerfile

14 lines
284 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
2022-06-20 05:03:44 +00:00
COPY static static
COPY templates templates
COPY app.py app.py
2022-06-12 04:32:21 +00:00
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"]