2022-09-28 17:37:57 +00:00
|
|
|
FROM node:16.17.1-alpine3.16
|
2022-09-22 03:35:18 +00:00
|
|
|
|
|
|
|
ARG NPM_AUTH_TOKEN
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN echo //npm.pkg.github.com/:_authToken=$NPM_AUTH_TOKEN > ~/.npmrc
|
|
|
|
|
2022-09-29 02:32:58 +00:00
|
|
|
RUN apk --update --no-cache add git && yarn && yarn build
|