Files
k8s_devops/Dockerfile
2021-02-16 21:38:50 +01:00

6 lines
151 B
Docker

FROM python:3.9-slim
RUN pip install -r requirements.txt
COPY . .
ENV FLASK_APP=flaskr/hello
EXPOSE 5000
ENTRYPOINT python3 -m flask run --host=0.0.0.0