diff options
author | 2020-03-23 10:03:43 -0700 | |
---|---|---|
committer | 2020-03-23 10:32:54 -0700 | |
commit | 7a212edd8357d24e2dd88bc455418aaa895bc3c8 (patch) | |
tree | 5eec189d41ec7a606c246709ccd5fb3083778461 /docker | |
parent | Merge pull request #68 from python-discord/feat/doc/57/docker-run-cmd (diff) |
Move snekbox.cfg to a config directory
There will be more config files to come so it's cleaner to have them
together than littering the root directory with more files.
Diffstat (limited to 'docker')
-rw-r--r-- | docker/venv.Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/venv.Dockerfile b/docker/venv.Dockerfile index fe5b10d..5c0fcfc 100644 --- a/docker/venv.Dockerfile +++ b/docker/venv.Dockerfile @@ -6,7 +6,7 @@ ENV PIP_NO_CACHE_DIR=false \ PIPENV_HIDE_EMOJIS=1 \ PIPENV_NOSPIN=1 -COPY Pipfile Pipfile.lock snekbox.cfg /snekbox/ +COPY Pipfile Pipfile.lock /snekbox/ WORKDIR /snekbox RUN if [ -n "${DEV}" ]; \ @@ -15,3 +15,6 @@ RUN if [ -n "${DEV}" ]; \ else \ pipenv install --deploy --system; \ fi + +# At the end to avoid re-installing dependencies when only a config changes. +COPY config/ /snekbox/config |