This commit is contained in:
jonathang4 2025-05-30 19:30:33 +08:00
parent 451dc945e2
commit 00602fc0a7
2 changed files with 1 additions and 3 deletions

View File

@ -23,4 +23,4 @@ RUN ls -la /app/dist || echo "Debug: /app/dist directory not found or ls failed"
EXPOSE 3302
CMD ["sh", "-c", "cd /app && npm run start"]
CMD ["npm", "run", "start"]

View File

@ -7,7 +7,5 @@ services:
dockerfile: Dockerfile
image: jimeng-free-api:latest
container_name: jimeng-free-api
volumes:
- ./:/app
ports:
- "3300:3302"