Bachelorthesis_Code/backend/Dockerfile

19 lines
236 B
Docker
Raw Normal View History

FROM python:latest
# set working directory
WORKDIR /code
# install app dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt
# add app
COPY src/ .
# Expose Port 5000
EXPOSE 5000
# start app
CMD ["flask", "run"]