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

split run command in multiple lines

parent 0e1656e3
No related branches found
No related tags found
No related merge requests found
...@@ -7,7 +7,15 @@ EXPOSE 5000 ...@@ -7,7 +7,15 @@ EXPOSE 5000
WORKDIR /app WORKDIR /app
ADD ./app /app ADD ./app /app
RUN apt update && apt install apt-utils sqlite3 -y && apt upgrade -y && rm -rf /var/cache/apt && python3 -m pip install -r /app/requirements.txt && rm /app/requirements.txt && chmod +x /app/import.sh && chmod +x /app/export.sh && date > builddate.txt RUN apt update && \
apt install apt-utils sqlite3 -y && \
apt upgrade -y && \
rm -rf /var/cache/apt && \
python3 -m pip install -r /app/requirements.txt && \
rm /app/requirements.txt && \
chmod +x /app/import.sh && \
chmod +x /app/export.sh && \
date > builddate.txt
#everytime the container starts run main.py #everytime the container starts run main.py
ENTRYPOINT python3 main.py ENTRYPOINT python3 main.py
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment