From 9183f668d3778ac5df72e7f8dbf76b197a8aa440 Mon Sep 17 00:00:00 2001 From: Mythie Date: Mon, 27 Jan 2025 12:20:04 +1100 Subject: [PATCH] chore: bump node version for docker --- docker/Dockerfile | 7 +++++-- docker/start.sh | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 981c78ba1..9223fb3a3 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,10 @@ ########################### # BASE CONTAINER # ########################### -FROM node:18-alpine AS base +FROM node:22-alpine3.20 AS base + +RUN apk add --no-cache openssl + ########################### # BUILDER CONTAINER # @@ -30,7 +33,7 @@ FROM base AS installer RUN apk add --no-cache libc6-compat RUN apk add --no-cache jq # Required for node_modules/aws-crt -RUN apk add --no-cache make cmake g++ +RUN apk add --no-cache make cmake g++ openssl WORKDIR /app diff --git a/docker/start.sh b/docker/start.sh index e8d3be2e6..d6f637f7a 100755 --- a/docker/start.sh +++ b/docker/start.sh @@ -4,4 +4,4 @@ set -x npx prisma migrate deploy --schema ./packages/prisma/schema.prisma -node apps/web/server.js +HOSTNAME=0.0.0.0 node apps/web/server.js