From 6d905e255b6117ef5e37dd378b0b3dc7b2f9c363 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Mon, 23 Dec 2019 21:13:29 -0900 Subject: [PATCH] Copy env and entrypoint after pip installs --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 96878e4..3e821bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,10 +32,11 @@ WORKDIR /code COPY requirements/base.txt . COPY requirements/production.txt . COPY requirements/geeksbot.txt . -COPY .env . -COPY entrypoint . RUN pip install -r production.txt RUN pip install -r geeksbot.txt +COPY .env . +COPY entrypoint . + CMD ["./entrypoint"]