Dockerfile should use dist folder
Some checks failed
gds-mock-mcp Docker Build / build (push) Has been cancelled
Some checks failed
gds-mock-mcp Docker Build / build (push) Has been cancelled
This commit is contained in:
@@ -17,10 +17,7 @@ services:
|
||||
start_period: 5s
|
||||
networks: [default]
|
||||
gds-mock-mcp:
|
||||
image: gds-mock-mcp:latest
|
||||
depends_on:
|
||||
valkey:
|
||||
condition: service_healthy
|
||||
image: registry.mortons.site/gds-mock-mcp:latest
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- LOG_LEVEL=debug
|
||||
|
||||
@@ -25,7 +25,7 @@ WORKDIR /app
|
||||
COPY --from=builder --chown=gds:gds /app/node_modules ./node_modules
|
||||
|
||||
# Copy application source
|
||||
COPY --chown=gds:gds src ./src
|
||||
COPY --chown=gds:gds dist ./dist
|
||||
COPY --chown=gds:gds package.json ./
|
||||
|
||||
# Set environment variables
|
||||
@@ -46,4 +46,4 @@ USER gds
|
||||
|
||||
# Start server with dumb-init
|
||||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||
CMD ["node", "src/index.js"]
|
||||
CMD ["node", "dist/index.js"]
|
||||
|
||||
Reference in New Issue
Block a user