c504f94705
Change-Id: I260f8105cdd675d9475a9179149a445c4f56fa17
17 lines
271 B
Docker
17 lines
271 B
Docker
#
|
|
FROM python:3.10
|
|
|
|
#
|
|
WORKDIR /flask_app
|
|
|
|
#
|
|
COPY ./requirements.txt /flask_app/requirements.txt
|
|
|
|
#
|
|
RUN pip install --no-cache-dir --upgrade -r /flask_app/requirements.txt
|
|
|
|
#
|
|
COPY ./ /flask_app
|
|
|
|
#
|
|
CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0", "--port", "8001"] |