Skip to content
Snippets Groups Projects
Commit f7849ec0 authored by Jonas Leder's avatar Jonas Leder
Browse files

comment update

parent bdd84e5d
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ FROM python:3 ...@@ -3,6 +3,7 @@ FROM python:3
LABEL Name=url_shorter Version=1.3 LABEL Name=url_shorter Version=1.3
EXPOSE 5000 EXPOSE 5000
#Copy files to work directory
WORKDIR /app WORKDIR /app
ADD ./static /app/static ADD ./static /app/static
ADD ./templates /app/templates ADD ./templates /app/templates
...@@ -14,7 +15,7 @@ COPY main.py /app/main.py ...@@ -14,7 +15,7 @@ COPY main.py /app/main.py
RUN apt update RUN apt update
RUN apt upgrade -y 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 pip install pipreqs
RUN pipreqs . --force RUN pipreqs . --force
RUN python3 -m pip install -r requirements.txt RUN python3 -m pip install -r requirements.txt
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment