Spaces:
Paused
Paused
Upload folder using huggingface_hub
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -3,8 +3,8 @@ WORKDIR /app
|
|
| 3 |
COPY package*.json ./
|
| 4 |
RUN npm install
|
| 5 |
COPY . .
|
| 6 |
-
#
|
| 7 |
-
|
| 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
|