Bachelorthesis_Code/backend/Dockerfile

12 lines
130 B
Docker
Raw Normal View History

2021-06-21 22:58:08 +00:00
FROM python
2021-05-11 00:03:32 +00:00
2021-06-21 22:58:08 +00:00
WORKDIR /opt/
2021-05-11 00:03:32 +00:00
2021-06-21 22:58:08 +00:00
COPY requirements.txt .
2021-05-11 00:03:32 +00:00
2021-06-21 22:58:08 +00:00
RUN pip install -r requirements.txt
2021-05-11 00:03:32 +00:00
2021-06-21 22:58:08 +00:00
COPY /src .
2021-05-11 00:03:32 +00:00
2021-06-21 22:58:08 +00:00
CMD [ "python", "app.py" ]