From 73943b44828242b94603c3e5f6d0f02a61497a45 Mon Sep 17 00:00:00 2001 From: drakylar Date: Wed, 17 Feb 2021 17:37:04 +0300 Subject: [PATCH] Fixed bug with dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fbfa31c..36b8671 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file