Last active
June 16, 2020 06:57
-
-
Save gWOLF3/9d15fe93cb8e226f26f55d11c3fb3caf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
instead of copying in .npmrc template from repo, just create it in the Dockerfile to simplify things... | |
/// | |
ARG NPM_TOKEN | |
RUN echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc && \ | |
npm i && \ | |
rm -f .npmrc | |
/// |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment