Skip to content

Commit

Permalink
Merge pull request #192 from seatsurfing/fix-ipv6
Browse files Browse the repository at this point in the history
Added env LISTEN_ADDR
  • Loading branch information
virtualzone authored Oct 29, 2023
2 parents 644c5ea + a2c3b9b commit 100e85f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions admin-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ WORKDIR /app
RUN npm install
RUN npm install --save ./commons/ts
RUN npm run build
# Workaround for these bugs:
# https://github.com/vercel/next.js/issues/51684
# https://github.com/tiredofit/docker-collabora-online/pull/28
RUN sed -i "s/const hostname = /const hostname = process.env.LISTEN_ADDR || /g" /app/build/standalone/server.js

FROM gcr.io/distroless/nodejs20-debian12
ENV NODE_ENV=production
Expand Down
4 changes: 4 additions & 0 deletions booking-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ WORKDIR /app
RUN npm install
RUN npm install --save ./commons/ts
RUN npm run build
# Workaround for these bugs:
# https://github.com/vercel/next.js/issues/51684
# https://github.com/tiredofit/docker-collabora-online/pull/28
RUN sed -i "s/const hostname = /const hostname = process.env.LISTEN_ADDR || /g" /app/build/standalone/server.js

FROM gcr.io/distroless/nodejs20-debian12
ENV NODE_ENV=production
Expand Down
2 changes: 1 addition & 1 deletion server/res/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.14.3
1.14.4

0 comments on commit 100e85f

Please sign in to comment.