Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -19,7 +19,7 @@ RUN chmod +x start.sh
|
|
| 19 |
|
| 20 |
# Copy and build frontend
|
| 21 |
COPY node3-ui/ /tmp/ui/
|
| 22 |
-
RUN cd /tmp/ui && npm
|
| 23 |
mv /tmp/ui/dist /app/static && \
|
| 24 |
rm -rf /tmp/ui
|
| 25 |
|
|
|
|
| 19 |
|
| 20 |
# Copy and build frontend
|
| 21 |
COPY node3-ui/ /tmp/ui/
|
| 22 |
+
RUN cd /tmp/ui && npm install --legacy-peer-deps && npm run build && \
|
| 23 |
mv /tmp/ui/dist /app/static && \
|
| 24 |
rm -rf /tmp/ui
|
| 25 |
|