Zestysson commited on
Commit
ed2272f
·
1 Parent(s): 60b8a84

Fix: Copy all source files in Dockerfile builder stage

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -3,9 +3,8 @@ FROM node:20-alpine AS builder
3
 
4
  WORKDIR /app
5
 
6
- # Copy dependency files
7
- COPY package*.json tsconfig.json vite.config.ts server.ts ./
8
- COPY src/ ./src/
9
 
10
  # Install dependencies and build the app
11
  RUN npm install
 
3
 
4
  WORKDIR /app
5
 
6
+ # Copy all source files
7
+ COPY . .
 
8
 
9
  # Install dependencies and build the app
10
  RUN npm install