Add favicon and Dockerfile

This commit is contained in:
elpatron68
2024-05-26 01:11:20 +02:00
parent 32ecde1b87
commit b1f7f979c2
5 changed files with 34 additions and 3 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
# start by pulling the python image
FROM python:3.8-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.py /app
COPY ./templates/index.html /app/templates/index.html
COPY ./static/favicon.ico /app/static/favicon.ico
# configure the container to run in an executed manner
ENTRYPOINT [ "python" ]
CMD ["app.py" ]