From c647ebe7cbf3d299dfb579647081b686c0ce0152 Mon Sep 17 00:00:00 2001 From: unteem <timothee@indie.host> Date: Tue, 7 Nov 2023 12:47:07 +0100 Subject: [PATCH] fix: install all yarn dependencies --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 90f3cc9..3cca02b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ RUN git config --global --add safe.directory /var/www/discourse &&\ # sudo -u discourse bundle config --local jobs 4 && \ # sudo -u discourse bundle install &&\ # yarn install --frozen-lockfile - sudo -u discourse yarn install --production &&\ + sudo -u discourse yarn install --frozen-lockfile &&\ sudo -u discourse yarn cache clean &&\ find /var/www/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} + &&\ chown -R discourse:discourse /var/www/discourse -- GitLab