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:
parent
765c4d2b5d
commit
0426281ef7
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue