fix: install typescript for next.config.ts transpilation in Dockerfile
This commit is contained in:
@@ -3,7 +3,7 @@ WORKDIR /app
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm install
|
||||
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