First Code Commit
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
# Lucas Mathews - Fontys Student ID: 5023572
|
||||
# Banking System DockerFile
|
||||
|
||||
FROM python:3.12.3
|
||||
|
||||
LABEL maintainer="522499@student.fontys.nl"
|
||||
|
||||
WORKDIR /bank
|
||||
|
||||
COPY / /bank/
|
||||
|
||||
EXPOSE 81
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade -r /bank/requirements.txt
|
||||
|
||||
ENTRYPOINT [ "python", "./api.py", "--host", "0.0.0.0", "--port", "81"]
|
||||
Reference in New Issue
Block a user