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

comment update

parent bdd84e5d
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment