Spaces:
Sleeping
Sleeping
dockerfile update
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -11,12 +11,9 @@ RUN npm install
|
|
| 11 |
# Copy the rest of your application code
|
| 12 |
COPY . .
|
| 13 |
|
| 14 |
-
# Expose the port that Hugging Face Spaces expects
|
|
|
|
| 15 |
EXPOSE 7860
|
| 16 |
|
| 17 |
-
# Metadata for Hugging Face Spaces to identify the running application port
|
| 18 |
-
LABEL "app_port"="7860"
|
| 19 |
-
LABEL "app_file"="index.js"
|
| 20 |
-
|
| 21 |
# The command to start your Express server
|
| 22 |
CMD ["node", "index.js"]
|
|
|
|
| 11 |
# Copy the rest of your application code
|
| 12 |
COPY . .
|
| 13 |
|
| 14 |
+
# Expose the port that Hugging Face Spaces expects.
|
| 15 |
+
# The platform will detect this and route traffic accordingly.
|
| 16 |
EXPOSE 7860
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
# The command to start your Express server
|
| 19 |
CMD ["node", "index.js"]
|