Commit 0e06b4cb authored by Bruno Martin's avatar Bruno Martin
Browse files

add compress command to production docker build

parent f15c8db1
Pipeline #7522 failed with stages
in 19 seconds
......@@ -20,7 +20,8 @@ COPY . /app
# env.example must be used during build to provide a valid environment
RUN export $(cat /app/env.example | grep -v ^# | xargs) && \
python /app/manage.py collectstatic --noinput
python /app/manage.py collectstatic --noinput && \
python /app/manage.py compress
WORKDIR /app
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment