Skip to content

Commit 1103778

Browse files
committed
fix(Dockerfile): correct CMD path for Next.js application startup
1 parent 54473a2 commit 1103778

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=40s --retries=3 \
110110
CMD node -e "require('http').get('http://localhost:3000/api/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"
111111

112112
WORKDIR /app/apps/DocFlow
113-
CMD ["../../node_modules/.bin/next", "start"]
113+
CMD ["node_modules/.bin/next", "start"]

0 commit comments

Comments
 (0)