feat(docker): unify dynamic PORT across Dockerfile, compose, and dev server
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user