mirror of
https://github.com/LogicLabs-OU/OpenArchiver.git
synced 2026-04-06 00:31:57 +02:00
Docker build types package
This commit is contained in:
@@ -19,8 +19,11 @@ RUN pnpm install --frozen-lockfile --prod=false
|
||||
# Copy the rest of the source code
|
||||
COPY . .
|
||||
|
||||
# Build all packages
|
||||
RUN pnpm build
|
||||
# We need to build the types package first because other packages depend on it
|
||||
RUN pnpm --filter @open-archiver/types build
|
||||
|
||||
# Build all other packages
|
||||
RUN pnpm build --filter=!@open-archiver/types
|
||||
|
||||
# 2. Production Stage: Install only production dependencies and copy built artifacts
|
||||
FROM node:22-alpine AS production
|
||||
|
||||
Reference in New Issue
Block a user