Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -23,7 +23,7 @@ COPY package.json package-lock.json* ./
|
|
| 23 |
RUN npm install --production
|
| 24 |
|
| 25 |
# Copy application code
|
| 26 |
-
COPY
|
| 27 |
|
| 28 |
# Create required directories
|
| 29 |
# HuggingFace Spaces uses /data for persistent storage and /tmp for temporary files
|
|
@@ -35,4 +35,4 @@ EXPOSE 7860
|
|
| 35 |
|
| 36 |
# Run the application
|
| 37 |
# HuggingFace Spaces will inject secrets as environment variables automatically
|
| 38 |
-
CMD ["node", "
|
|
|
|
| 23 |
RUN npm install --production
|
| 24 |
|
| 25 |
# Copy application code
|
| 26 |
+
COPY server.js ./
|
| 27 |
|
| 28 |
# Create required directories
|
| 29 |
# HuggingFace Spaces uses /data for persistent storage and /tmp for temporary files
|
|
|
|
| 35 |
|
| 36 |
# Run the application
|
| 37 |
# HuggingFace Spaces will inject secrets as environment variables automatically
|
| 38 |
+
CMD ["node", "server.js"]
|