Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit 59d7a93

Browse files
committed
fix: ensure production server binds to 0.0.0.0
1 parent f27f4d2 commit 59d7a93

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
@@ -42,4 +42,4 @@ COPY --from=build /myapp/package.json /myapp/package.json
4242
COPY --from=build /myapp/.env /myapp/.env
4343
# Expose port and start application
4444
EXPOSE 3000
45-
CMD ["npm", "run", "start"]
45+
CMD ["npx", "shopify", "hydrogen", "preview", "--host", "0.0.0.0", "--port", "3000"]

0 commit comments

Comments
 (0)