Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -12,8 +12,9 @@ RUN npm install
|
|
| 12 |
# Copy source code
|
| 13 |
COPY . .
|
| 14 |
|
| 15 |
-
# Expose the port
|
| 16 |
EXPOSE 3000
|
| 17 |
|
| 18 |
# Start the server using tsx
|
|
|
|
| 19 |
CMD ["npx", "tsx", "server.ts"]
|
|
|
|
| 12 |
# Copy source code
|
| 13 |
COPY . .
|
| 14 |
|
| 15 |
+
# Expose the port
|
| 16 |
EXPOSE 3000
|
| 17 |
|
| 18 |
# Start the server using tsx
|
| 19 |
+
# The model will download to the default cache directory on first request
|
| 20 |
CMD ["npx", "tsx", "server.ts"]
|