Correct Docker Compose

This commit is contained in:
Lucas Mathews
2024-06-15 13:12:25 +02:00
parent c79f54eda7
commit a1d326c018
6 changed files with 15 additions and 12 deletions

View File

@@ -7,10 +7,10 @@ LABEL maintainer="522499@student.fontys.nl"
WORKDIR /server
COPY . /server
COPY server/ /server/
EXPOSE 81
EXPOSE 80
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
RUN pip install --no-cache-dir --upgrade -r /server/requirements.txt
ENTRYPOINT ["python", "./api.py", "--host", "0.0.0.0", "--port", "81"]
ENTRYPOINT ["python", "/server/api.py"]