diff --git a/Dockerfile b/Dockerfile index 4f581af..53bccd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ -FROM node:15.11.0-alpine3.13 +FROM registry.odit.services/hub/library/node:19.5.0-alpine3.16 as build +ARG NPM_REGISTRY_URL=https://registry.npmjs.org WORKDIR /app + +RUN npm config set registry $NPM_REGISTRY_URL && npm i -g pnpm@8 +RUN mkdir /pnpm && pnpm config set store-dir /pnpm && pnpm i + COPY . . -RUN yarn -RUN yarn build \ No newline at end of file +RUN pnpm build \ No newline at end of file