1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

install dev dependencies in production to allow compiling assets with webpack

This commit is contained in:
Sylvain 2020-10-06 09:08:56 +02:00
parent df14b2b51d
commit 74ebdb029b

View File

@ -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 && \