Skip to content

Commit

Permalink
Fixed bug with dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
drakylar committed Feb 17, 2021
1 parent 9347d14 commit 73943b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM python:3.8
ADD . /code
WORKDIR /code
RUN pip install -r requirements_unix.txt
RUN if [ ! -e "configuration/database.sqlite3" ]; then echo 'DELETE_ALL' | python new_initiation.py; fi;
RUN if [ ! -e "/code/configuration/database.sqlite3" ]; then echo 'DELETE_ALL' | python new_initiation.py; fi;
CMD python app.py

0 comments on commit 73943b4

Please sign in to comment.