Skip to content

Commit 45a0e8e

Browse files
authored
fix(Dockerfile): correct CMD path for Next.js application startup (#305)
1 parent 54473a2 commit 45a0e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)