Newer
Older
WORKDIR /app
ADD ./static /app/static
ADD ./templates /app/templates
COPY import.py /app/import.py
COPY export.py /app/export.py
COPY main.py /app/main.py
#Make a complete system update. apt-utils is needed for configuring packages, so we need to install it
RUN python3 -m pip install -r requirements.txt
#Compile the Python files (for more speed) and replace the original files
#Make a builddate file, used if you want to see the builddate in the webui
RUN date > builddate.txt
#everytime the container starts run main.py