wip: general updates

This commit is contained in:
2024-12-02 11:54:05 +01:00
parent 196b386d6d
commit 1eab535381
17 changed files with 324 additions and 719 deletions

View File

@@ -1,10 +1,13 @@
FROM registry.odit.services/hub/library/node:23.3.0-alpine3.20 AS build
ARG NPM_REGISTRY_URL=https://registry.npmjs.org
FROM node:23.3.0-alpine3.20 AS build
# FROM registry.odit.services/hub/library/node:23.3.0-alpine3.20 AS build
# ARG NPM_REGISTRY_URL=https://registry.npmjs.org
WORKDIR /app
COPY . .
RUN npm config set registry $NPM_REGISTRY_URL && npm i -g pnpm@9
RUN pnpm i && pnpm build && pnpm postbuild
# RUN npm config set registry $NPM_REGISTRY_URL && npm i -g pnpm@9
RUN npm i -g pnpm@9
RUN pnpm i --frozen-lockfile
RUN pnpm build
RUN pnpm postbuild
# final image
FROM registry.odit.services/library/nginx-brotli:3.15 AS final