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