feat(docker): unify dynamic PORT across Dockerfile, compose, and dev server

This commit is contained in:
venus
2026-09-13 02:04:37 -05:00
parent 78b1e0b485
commit d3aefa343e
5 changed files with 23 additions and 11 deletions
+5
View File
@@ -62,6 +62,11 @@ export default function (eleventyConfig) {
return [...tagSet].sort();
});
// 6. Dev Server Options (dynamic port binding)
eleventyConfig.setServerOptions({
port: parseInt(process.env.PORT || "8080", 10)
});
return {
dir: {
input: "src",