From 8e11686b7dc790b7104d4fffc9745849699398b4 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Fri, 12 Jul 2019 20:15:45 +0800 Subject: [PATCH] temporary create config.py to make flask work --- docker/Production/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker/Production/Dockerfile b/docker/Production/Dockerfile index 6a2e386..44d3273 100644 --- a/docker/Production/Dockerfile +++ b/docker/Production/Dockerfile @@ -19,7 +19,9 @@ COPY . . RUN pip3 install -r requirements.txt \ && pip3 install psycopg2-binary \ && yarn install --pure-lockfile \ - && flask assets build + && cp config_template.py config.py \ + && flask assets build \ + && rm config.py COPY ./docker/Production/entrypoint.sh /usr/local/bin/