diff --git a/Dockerfile b/Dockerfile index 167ae2238565e21b3c063ba86690d5359e48846b..607566b0ddebdee546f88bf7b9f55bb559973d9d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,7 @@ FROM python:3 LABEL Name=url_shorter Version=1.3 EXPOSE 5000 +#Copy files to work directory WORKDIR /app ADD ./static /app/static ADD ./templates /app/templates @@ -14,7 +15,7 @@ COPY main.py /app/main.py RUN apt update RUN apt upgrade -y -#Install pipreqs. this tool is used to make the requirements.txt file automatic. Afterwards install them. +#Install pipreqs. This tool is used to make the requirements.txt file automatic. Afterwards install them. RUN pip install pipreqs RUN pipreqs . --force RUN python3 -m pip install -r requirements.txt