2020-03-17 20:55:32 +00:00
|
|
|
FROM python:3.8-alpine
|
2020-03-05 16:28:07 +00:00
|
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
WORKDIR /code
|
2020-03-17 20:55:32 +00:00
|
|
|
COPY requirements.txt /code/
|
2020-03-05 16:28:07 +00:00
|
|
|
RUN pip install -r requirements.txt
|
2020-03-17 20:55:32 +00:00
|
|
|
COPY . /code/
|
2020-03-05 16:28:07 +00:00
|
|
|
ENV FLASK_APP hello.py
|
|
|
|
CMD flask run --host=0.0.0.0
|
2020-03-17 20:55:32 +00:00
|
|
|
|