Skip to content

Commit

Permalink
install types/react in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
saisab29 committed Dec 5, 2024
1 parent d2e39ca commit e245ef8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ WORKDIR /app
COPY package*.json ./
RUN npm ci --omit=dev --force

# Install TypeScript types for React (required for TypeScript projects)
RUN npm install --save-exact --save-dev @types/react

# Build Stage: Build Application
FROM node:20-alpine AS builder

Expand Down

0 comments on commit e245ef8

Please sign in to comment.