fix: install typescript for next.config.ts transpilation in Dockerfile
This commit is contained in:
@@ -5,7 +5,7 @@ COPY packages/shared/package.json ./packages/shared/
|
||||
RUN npm install
|
||||
COPY packages/shared/ ./packages/shared/
|
||||
COPY . .
|
||||
RUN npx next build
|
||||
RUN npm install --save-dev typescript && npx next build
|
||||
|
||||
FROM node:20-alpine AS runner
|
||||
WORKDIR /app
|
||||
|
||||
Reference in New Issue
Block a user