mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
f168b2512e
* chore: add yarn local cache * update list files docker publish * add example extending with plugins and yarn2
16 lines
366 B
Docker
16 lines
366 B
Docker
# run yarn docker to get this tag
|
|
FROM verdaccio/verdaccio:local
|
|
|
|
USER root
|
|
|
|
# Comment out for better performance
|
|
# ENV NODE_ENV=production
|
|
|
|
RUN yarn config set enableProgressBars true && \
|
|
yarn config set enableTelemetry true && \
|
|
yarn config set enableGlobalCache false && \
|
|
yarn install && \
|
|
yarn add verdaccio-aws-s3-storage
|
|
|
|
USER verdaccio
|
|
|