Version2
This commit is contained in:
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
||||
#our base image
|
||||
FROM python:3.14
|
||||
LABEL Erik Thiele, ethiele@teamthiele.de
|
||||
|
||||
# install Python modules with PIP needed by the Python app
|
||||
COPY requirements.txt /tmp/requirements.txt
|
||||
RUN pip install --no-cache-dir -r /tmp/requirements.txt
|
||||
|
||||
# create Directory /app
|
||||
RUN mkdir app
|
||||
|
||||
# copy files required for the app to run
|
||||
COPY runserver.py /app
|
||||
COPY code.txt /app
|
||||
|
||||
ADD GirlsDayPython /app/GirlsDayPython
|
||||
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# tell the port number the container should exposeust
|
||||
EXPOSE 5555
|
||||
|
||||
# run the application
|
||||
CMD ["python", "/app/runserver.py"]
|
||||
|
||||
Reference in New Issue
Block a user