arabago96 commited on
Commit
3841685
·
1 Parent(s): fe3b43d

Fix: Docker build failing on NPM deps (Using fresh init)

Browse files
Files changed (1) hide show
  1. services/processor/Dockerfile +5 -5
services/processor/Dockerfile CHANGED
@@ -19,11 +19,11 @@ RUN dpkg --add-architecture i386 && \
19
  # Set up app directory
20
  WORKDIR /app
21
 
22
- # Copy Dependencies
23
- COPY package*.json ./
24
- RUN npm install
25
- # Install microservice dependencies explicitly
26
- RUN npm install express multer @types/express @types/multer
27
 
28
  # Copy App Source
29
  COPY . .
 
19
  # Set up app directory
20
  WORKDIR /app
21
 
22
+ # Initialize minimal Node environment (No massive frontend deps)
23
+ RUN npm init -y
24
+
25
+ # Install ONLY what we need
26
+ RUN npm install express multer @types/express @types/multer typescript tsx
27
 
28
  # Copy App Source
29
  COPY . .