AstraOS commited on
Commit
52addd1
·
verified ·
1 Parent(s): 662cf6b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -20,13 +20,13 @@ COPY --chown=user . /app
20
  FROM node:20-slim AS nodebuilder
21
  WORKDIR /app
22
  COPY . /app
23
- RUN npm install --production
24
 
25
  # Final container merging Python and Node.js
26
  FROM python:3.11-slim-bullseye
27
 
28
  # Install Node.js manually
29
  RUN apt-get update && apt-get install -y nodejs npm && rm -rf /var/lib/apt/lists/*
 
30
 
31
  # Copy application files
32
  COPY --from=nodebuilder /app /app
 
20
  FROM node:20-slim AS nodebuilder
21
  WORKDIR /app
22
  COPY . /app
 
23
 
24
  # Final container merging Python and Node.js
25
  FROM python:3.11-slim-bullseye
26
 
27
  # Install Node.js manually
28
  RUN apt-get update && apt-get install -y nodejs npm && rm -rf /var/lib/apt/lists/*
29
+ RUN npm install --production
30
 
31
  # Copy application files
32
  COPY --from=nodebuilder /app /app