Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
|
@@ -15,8 +15,10 @@ COPY --chown=1000 . .
|
|
| 15 |
RUN npm install
|
| 16 |
RUN npm run build
|
| 17 |
|
| 18 |
-
#
|
| 19 |
-
|
|
|
|
|
|
|
| 20 |
|
| 21 |
# Start the application
|
| 22 |
-
CMD ["
|
|
|
|
| 15 |
RUN npm install
|
| 16 |
RUN npm run build
|
| 17 |
|
| 18 |
+
# --- LOS CAMBIOS ESTÁN AQUÍ ABAJO ---
|
| 19 |
+
# Forzar el puerto que exige Hugging Face
|
| 20 |
+
ENV PORT=7860
|
| 21 |
+
EXPOSE 7860
|
| 22 |
|
| 23 |
# Start the application
|
| 24 |
+
CMD ["npm", "start"]
|