From a6a933478074c64a65b9c78bbb4b81576d68967a Mon Sep 17 00:00:00 2001 From: Ville Ranki Date: Mon, 30 Dec 2019 22:34:16 +0200 Subject: [PATCH] Ignore missing json and pickle --- Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2f8403c..96bc4bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,7 @@ RUN pip install pipenv COPY Pipfile . RUN pipenv install --pre -COPY bot.py . +COPY bot.py *.json *.pickle /bot/ COPY modules modules -# googlecal: copy credentials.json and token.pickle if they exist -COPY *.json . -COPY *.pickle . - CMD [ "pipenv", "run", "python", "-u", "./bot.py" ]