Upload Dockerfile
Browse files- Dockerfile +1 -7
Dockerfile
CHANGED
|
@@ -13,11 +13,5 @@ COPY . .
|
|
| 13 |
# Build the app
|
| 14 |
RUN npm run build
|
| 15 |
|
| 16 |
-
# Install a simple static file server
|
| 17 |
-
RUN npm install -g serve
|
| 18 |
-
|
| 19 |
-
# Hugging Face Spaces expose port 7860
|
| 20 |
-
EXPOSE 7860
|
| 21 |
-
|
| 22 |
# Serve the application
|
| 23 |
-
CMD ["serve", "-s", "dist", "-l", "7860"]
|
|
|
|
| 13 |
# Build the app
|
| 14 |
RUN npm run build
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
# Serve the application
|
| 17 |
+
CMD ["npx", "serve", "-s", "dist", "-l", "7860"]
|