PeterPinetree commited on
Commit
803ded1
·
1 Parent(s): e30b034

build(docker): switch to node:20 base (includes git) to satisfy HF build git config step

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -6
Dockerfile CHANGED
@@ -1,10 +1,6 @@
1
- FROM node:20-alpine
2
 
3
- # Install required packages (git) as root to satisfy build steps
4
- USER root
5
- RUN apk add --no-cache git
6
-
7
- # Ensure non-root user for build/run
8
  USER 1000
9
  WORKDIR /usr/src/app
10
 
 
1
+ FROM node:20
2
 
3
+ # Ensure non-root user for build/run (node image has a non-root user with uid 1000)
 
 
 
 
4
  USER 1000
5
  WORKDIR /usr/src/app
6