aboutsummaryrefslogtreecommitdiffstats
path: root/docker/app/alpine
diff options
context:
space:
mode:
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"]