From 081ec88318619a773c5e97cbbd8798eca2630a27 Mon Sep 17 00:00:00 2001 From: Paolo D'Amico Date: Mon, 19 Apr 2021 14:10:43 -0700 Subject: [PATCH] Fix dev.Dockerfile (following #4007) (#4037) --- dev.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev.Dockerfile b/dev.Dockerfile index 80ae13f524b..4ea8bff327e 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -44,9 +44,9 @@ COPY plugins/yarn.lock plugins/ COPY . . # generate Django's static files -RUN DATABASE_URL='postgres:///' REDIS_URL='redis:///' python manage.py collectstatic --noinput +RUN DATABASE_URL='postgres:///' REDIS_URL='redis:///' mkdir frontend/dist && python manage.py collectstatic --noinput # install frontend dependencies -RUN mkdir frontend/dist && yarn install && yarn install --cwd plugins && yarn cache clean +RUN yarn install && yarn install --cwd plugins && yarn cache clean CMD ["./bin/docker-dev"]