Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -6,6 +6,7 @@ RUN chmod -R 777 /bella/*
|
|
| 6 |
COPY . $WORKDIR
|
| 7 |
RUN rm -rf node_modules
|
| 8 |
RUN npm run download
|
| 9 |
-
RUN npm i
|
|
|
|
| 10 |
ENV PORT=7860
|
| 11 |
-
CMD ["npx", "
|
|
|
|
| 6 |
COPY . $WORKDIR
|
| 7 |
RUN rm -rf node_modules
|
| 8 |
RUN npm run download
|
| 9 |
+
RUN npm i
|
| 10 |
+
RUN node -e "(async () => { await import('./core.js') })()"
|
| 11 |
ENV PORT=7860
|
| 12 |
+
CMD ["npx", "http-server", "-c-1", "--cors"]
|