mirror of
https://github.com/lukasabbe/liu-stats-website.git
synced 2026-04-30 10:50:52 +00:00
Fixed docker file
This commit is contained in:
@@ -4,12 +4,15 @@ RUN apk add --no-cache pnpm
|
||||
FROM base AS deps
|
||||
WORKDIR /app
|
||||
COPY pnpm-lock.yaml package.json ./
|
||||
COPY .npmrc ./
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
FROM base AS builder
|
||||
WORKDIR /app
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY --from=deps /app/node_modules/.pnpm/liu-tentor-package@1.2.0/node_modules/liu-tentor-package ./node_modules/liu-tentor-package
|
||||
COPY . .
|
||||
|
||||
RUN pnpm build
|
||||
|
||||
FROM base AS runner
|
||||
|
||||
Reference in New Issue
Block a user