From 74ebdb029b0aa72046fb58424fa8aab85cc1c423 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Tue, 6 Oct 2020 09:08:56 +0200 Subject: [PATCH] install dev dependencies in production to allow compiling assets with webpack --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 853f62ef0..116661ca0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,7 @@ RUN bundle install --binstubs --without development test doc WORKDIR /usr/src/app COPY package.json /usr/src/app/package.json COPY yarn.lock /usr/src/app/yarn.lock -RUN yarn install --production +RUN yarn install # Clean up build deps, cached packages and temp files RUN apk del .build-deps && \