From d4d156336945e4c25be4709ce868d587996bb377 Mon Sep 17 00:00:00 2001 From: "Diccion, Kaeren C (UG - Computer Science)" <kd00450@surrey.ac.uk> Date: Fri, 12 Mar 2021 14:34:59 +0000 Subject: [PATCH] Update Dockerfile --- showservices/Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/showservices/Dockerfile b/showservices/Dockerfile index 9552545..fc2be5e 100644 --- a/showservices/Dockerfile +++ b/showservices/Dockerfile @@ -1,8 +1,9 @@ -FROM python:3.8 +FROM python:3.8-alpine WORKDIR / -COPY requirement.txt -RUN pip install -r requirements.txt -COPY ./movies.py / +COPY stservice/requirements.txt . +RUN pip3 install -r requirements.txt +COPY ./showtimes.py / COPY ./database /database -EXPOSE 5001 -CMD["python3", "./movies.py"] +EXPOSE 5002 +CMD python showtimes.py + -- GitLab