Skip to content

Commit c82ef8d

Browse files
committed
fix: remove hardcoded PORT to let Railway set it dynamically
1 parent 5899a41 commit c82ef8d

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
@@ -38,7 +38,7 @@ USER nextjs
3838

3939
EXPOSE 3000
4040

41-
ENV PORT=3000
41+
# Railway sets PORT dynamically - default to 3000 if not set
4242
ENV HOSTNAME="0.0.0.0"
4343

4444
CMD ["node", "server.js"]

0 commit comments

Comments
 (0)