This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
FROM registry.odit.services/hub/library/node:15.9.0-alpine3.13
|
||||
FROM registry.odit.services/hub/library/node:19.5.0-alpine3.17
|
||||
WORKDIR /app
|
||||
RUN npm i -g pnpm@7
|
||||
COPY . .
|
||||
RUN yarn
|
||||
RUN yarn build
|
||||
RUN yarn postbuild
|
||||
RUN pnpm i --frozen-lockfile
|
||||
RUN pnpm build
|
||||
RUN pnpm postbuild
|
||||
# final image
|
||||
FROM registry.odit.services/library/nginx-brotli:3.15
|
||||
COPY --from=0 /app/dist /usr/share/nginx/html
|
||||
|
||||
Reference in New Issue
Block a user