0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-04-01 02:42:23 -05:00

refactor: dockerfile transpile code on build

This commit is contained in:
Juan Picado @jotadeveloper 2017-11-17 09:02:28 +01:00 committed by juanpicado
parent 765c4d2b5d
commit 0426281ef7

View file

@ -18,8 +18,10 @@ RUN npm config set registry http://registry.npmjs.org/ && \
npm install -g -s --no-progress yarn@0.28.4 --pure-lockfile && \
yarn install --production=false && \
yarn run build:webui && \
yarn run code:build && \
yarn cache clean && \
yarn install --production=true --pure-lockfile
yarn install --production=true --pure-lockfile && \
yarn run code:build
RUN mkdir -p /verdaccio/storage /verdaccio/conf