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

moved to manual requirements

parent 853fb479
No related branches found
No related tags found
No related merge requests found
Pipeline #51 passed
......@@ -11,6 +11,7 @@ COPY import.py /app/import.py
COPY export.py /app/export.py
COPY main.py /app/main.py
COPY VERSION /app/VERISON
COPY requirements.txt /app/requirements.txt
#Make a complete system update. apt-utils is needed for configuring packages, so we need to install it
RUN apt update
......@@ -18,9 +19,7 @@ RUN apt install apt-utils -y
RUN apt upgrade -y
RUN apt clean
#Install pipreqs. This tool is used to make the requirements.txt file automatic. Afterwards install them.
RUN pip install pipreqs
RUN pipreqs . --force
#Install libraries
RUN python3 -m pip install -r requirements.txt
#Compile the Python files (for more speed) and replace the original files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment