pnpm migration
continuous-integration/drone/push Build is passing

This commit is contained in:
philipp committed 2023-02-03 17:24:25 +01:00
1 parent 5587175534
commit a3a1e89aa1
2 files changed
+6 -12

No files matched your search

+5 -4
View File
@@ -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