Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 225 Bytes
FROM node:8.11.3-alpine
ARG NPM_TOKEN
WORKDIR /private-app
COPY . /private-app
RUN echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc && \
npm install && \
rm -f .npmrc
EXPOSE 3000
CMD ["node","index.js"]
You can’t perform that action at this time.