Skip to content

Commit a83cc5d

Browse files
committed
fix: dockerfile update and fix to work as expected
1 parent 81fac1c commit a83cc5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Server~/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ RUN chown -R nodejs:nodejs /app
4747
# Switch to non-root user
4848
USER nodejs
4949

50-
# Expose WebSocket port
51-
EXPOSE 8090
50+
# Expose WebSocket and HTTP ports
51+
EXPOSE 8090 3000
5252

5353
# Health check to ensure the application is running
5454
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
55-
CMD wget --no-verbose --tries=1 --spider http://localhost:8090/health || exit 1
55+
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/health || exit 1
5656

5757
# Command to run the MCP server
5858
ENTRYPOINT ["node", "build/index.js"]

0 commit comments

Comments
 (0)