Skip to content

Commit 36b0624

Browse files
committed
feat(docker): add command to start the app in Dockerfile
1 parent 678cc53 commit 36b0624

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/app/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ RUN addgroup -S app && adduser -S app -G app && chown -R app:app ./.next
9494
USER app
9595

9696
# Expose the API port (defaults to 3100 via .env, can be overridden)
97-
EXPOSE 3000
98-
97+
EXPOSE 3200
9998

10099
HEALTHCHECK --interval=30s --timeout=5s --start-period=60s --retries=3 \
101100
CMD \
102-
curl -f http://localhost:3000/ || exit 1
101+
curl -f http://localhost:3200/ || exit 1
103102

104103

104+
# Start the app
105105
CMD ["bun", "run", '--bun', "next", "start"]

0 commit comments

Comments
 (0)