Leon4gr45 commited on
Commit
e5bff13
·
verified ·
1 Parent(s): ab5231c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -3,8 +3,8 @@ WORKDIR /app
3
  COPY package*.json ./
4
  RUN npm install
5
  COPY . .
6
- # Run as root explicitly just in case, though it should be default
7
- USER root
8
  RUN npm run build
9
 
10
  FROM node:20-slim
 
3
  COPY package*.json ./
4
  RUN npm install
5
  COPY . .
6
+ # Explicitly set permissions for node_modules/.bin
7
+ RUN chmod -R +x node_modules/.bin
8
  RUN npm run build
9
 
10
  FROM node:20-slim