Bachelorthesis_Code/backend/Dockerfile.prod

12 lines
180 B
Docker

FROM python
WORKDIR /opt/demo/
COPY requirements.txt .
RUN apt-get -y update && apt-get -y upgrade
RUN pip install -r requirements.txt
COPY /src .
CMD [ "python", "main.py" ]