Copy env and entrypoint after pip installs

This commit is contained in:
Dustin Pianalto 2019-12-23 21:13:29 -09:00
parent f252db244e
commit 6d905e255b

View File

@ -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"]