Files
girlsday/Dockerfile
Erik Thiele 20eacbb82f Version2
2026-04-12 15:59:19 +02:00

27 lines
540 B
Docker

#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"]