Before move to Gunicorn

This commit is contained in:
Lucas Mathews
2024-06-15 20:11:04 +02:00
parent a1d326c018
commit 1c614f23b6
11 changed files with 96 additions and 56 deletions

View File

@@ -1,16 +1,16 @@
# Lucas Mathews - Fontys Student ID: 5023572
# Banking System DockerFile
FROM python:3.12.3
LABEL maintainer="522499@student.fontys.nl"
FROM python:3.12.3-slim as base
WORKDIR /server
COPY server/ /server/
EXPOSE 80
COPY requirements.txt /server/
RUN pip install --no-cache-dir --upgrade -r /server/requirements.txt
ENTRYPOINT ["python", "/server/api.py"]
EXPOSE 8066
ENTRYPOINT ["python"]
CMD ["api.py"]