or this
This commit is contained in:
parent
cdcf9bc4a4
commit
b906b64fcd
@ -56,6 +56,7 @@ COPY --link --chmod=755 docker-entrypoint.sh /usr/local/bin/
|
|||||||
|
|
||||||
RUN apk add --no-cache su-exec
|
RUN apk add --no-cache su-exec
|
||||||
|
|
||||||
|
ENV HOSTNAME 0.0.0.0
|
||||||
ENV PORT 3000
|
ENV PORT 3000
|
||||||
EXPOSE $PORT
|
EXPOSE $PORT
|
||||||
|
|
||||||
@ -63,5 +64,4 @@ HEALTHCHECK --interval=10s --timeout=3s --start-period=20s \
|
|||||||
CMD wget --no-verbose --tries=1 --spider --no-check-certificate http://localhost:$PORT/api/healthcheck || exit 1
|
CMD wget --no-verbose --tries=1 --spider --no-check-certificate http://localhost:$PORT/api/healthcheck || exit 1
|
||||||
|
|
||||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||||
ENV HOST=0.0.0.0
|
|
||||||
CMD ["node", "server.js"]
|
CMD ["node", "server.js"]
|
||||||
|
|||||||
@ -2,9 +2,6 @@ const { i18n } = require("./next-i18next.config");
|
|||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
serverRuntimeConfig: {
|
|
||||||
host: "0.0.0.0",
|
|
||||||
},
|
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
output: "standalone",
|
output: "standalone",
|
||||||
images: {
|
images: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user