switch to pnpm and add import aliasing

This commit is contained in:
mrjvs
2023-09-14 20:19:07 +02:00
parent 2583a5126f
commit bd45c86ef5
9 changed files with 4125 additions and 6652 deletions

View File

@@ -4,10 +4,11 @@ WORKDIR /app
# Build layer
FROM base as build
COPY package-lock.json package.json ./
RUN npm install --frozen-lockfile
RUN npm i -g pnpm
COPY pnpm-lock.yaml package.json ./
RUN pnpm install --frozen-lockfile
COPY . .
RUN npm run build
RUN pnpm build
# Production layer
FROM base as production