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:
@@ -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