aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/alpine
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-05 13:46:50 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-05 13:46:50 +0100
commit0936db6072db68d9f724c49c3e7252680f6e8867 (patch)
treeabb566abec75b4a2fe36f4d58c753b34d11231cb /docker/app/alpine
parent[#158 #160] Add crispy-bulma and simple-bulma (diff)
[#158 #160] Automatically run collectstatic in containers/setup script
Diffstat (limited to 'docker/app/alpine')
-rw-r--r--docker/app/alpine/3.6/Dockerfile2
-rw-r--r--docker/app/alpine/3.7/Dockerfile2
2 files changed, 4 insertions, 0 deletions
diff --git a/docker/app/alpine/3.6/Dockerfile b/docker/app/alpine/3.6/Dockerfile
index 1abcd537..c40b6593 100644
--- a/docker/app/alpine/3.6/Dockerfile
+++ b/docker/app/alpine/3.6/Dockerfile
@@ -28,4 +28,6 @@ RUN python3 -m pip install pipenv \
COPY . .
+RUN python3 manage.py collectstatic --no-input --clear
+
CMD ["uwsgi", "--ini", "docker/app/uwsgi.ini"]
diff --git a/docker/app/alpine/3.7/Dockerfile b/docker/app/alpine/3.7/Dockerfile
index 955c01be..9dfbfe09 100644
--- a/docker/app/alpine/3.7/Dockerfile
+++ b/docker/app/alpine/3.7/Dockerfile
@@ -27,4 +27,6 @@ RUN python3 -m pip install pipenv \
COPY . .
+RUN python3 manage.py collectstatic --no-input --clear
+
CMD ["uwsgi", "--ini", "docker/app/uwsgi.ini"]