NitinBot001 commited on
Commit
567773b
·
verified ·
1 Parent(s): 92c8743

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -1,11 +1,12 @@
1
  # Use Node 20 (Bullseye is more compatible than Slim for some build tools)
2
- FROM node:20-alpine AS base
3
 
4
  # Install git and pnpm
5
- RUN apk update && apk install -y git && \
6
  npm install -g pnpm && \
 
7
  rm -rf /var/lib/apt/lists/*
8
-
9
  # Set working directory
10
  WORKDIR /app
11
 
 
1
  # Use Node 20 (Bullseye is more compatible than Slim for some build tools)
2
+ FROM node:20-slim
3
 
4
  # Install git and pnpm
5
+ RUN apt-get update && apt-get install -y git && \
6
  npm install -g pnpm && \
7
+ apt-get clean && \
8
  rm -rf /var/lib/apt/lists/*
9
+
10
  # Set working directory
11
  WORKDIR /app
12