Nuxt.jsÃExpressã®Dockerfileãæ¸ãã¦ããæã«ãã³ã³ããå¤ããã¢ã¯ã»ã¹ãåãä»ãããã¨æã£ã¦ server/index.js ã® host ã®å¤ã 127.0.0.1 ã 0.0.0.0 ã«æ¸ãæããã host = process.env.HOST || '0.0.0.0', ãããã³ã³ããå¤ããã¢ã¯ã»ã¹ã§ããªãã£ãã ããè¦ã㨠nuxt.options.server ã§ä¸æ¸ãããã¦ããããã ã£ãã const { host = process.env.HOST || '0.0.0.0', port = process.env.PORT || 3000 } = nuxt.options.server (æè¿ã®jsã«æ £ãã¦ãªãã¦ããã®è¨æ³ã®æå³èª¿ã¹ãã®ã«æéåã£ã...) nuxt.options.server ã®ããã©ã«ãå¤ github.com ç°å¢å¤æ° HOS
{{#tags}}- {{label}}
{{/tags}}