Pytho_App added

This commit is contained in:
2025-03-12 13:42:37 +01:00
parent bdef4b6a4b
commit 47d74aa502
3 changed files with 43 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# start by pulling the python image
FROM python:3.13-alpine
# copy the requirements file into the image
COPY ./requirements.txt /app/requirements.txt
# switch working directory
WORKDIR /app
# install the dependencies and packages in the requirements file
RUN pip install -r requirements.txt
# copy every content from the local file to the image
COPY . /app
# configure the container to run in an executed manner
ENTRYPOINT [ "python" ]
CMD ["app.py" ]