Initial commit

This commit is contained in:
2025-01-21 13:27:45 +00:00
commit d0af5b0503
10 changed files with 316 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
# start by pulling the python image
FROM python:3.8-alpine
# copy the requirements file into the image
COPY ./src/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 ./src/view.py /app/view.py
COPY ./src/templates /app/templates
# configure the container to run in an executed manner
ENTRYPOINT [ "python" ]
CMD ["view.py" ]