Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
Fix missing base url during docker build (#180)
Luke Vellac07885beeeef
diff --git a/Dockerfile b/Dockerfileindex 47883972d..fcdfbe8f0 100644--- a/Dockerfile+++ b/Dockerfile@@ -11,10 +11,13 @@ COPY package.json /usr/src/appCOPY yarn.lock /usr/src/appCOPY prisma/schema.prisma /usr/src/app-RUN yarn --production+RUN yarn --frozen-lockfileCOPY . /usr/src/app+ARG NEXT_PUBLIC_BASE_URL+ENV NEXT_PUBLIC_BASE_URL $NEXT_PUBLIC_BASE_URL+RUN yarn buildEXPOSE 3000diff --git a/docker-compose.yml b/docker-compose.ymlindex 2d5a856ea..ec30d0146 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -13,6 +13,7 @@ services:context: .args:- DATABASE_URL=postgres://postgres:postgres@rallly_db:5432/db?pgbouncer=true+ - NEXT_PUBLIC_BASE_URL=${NEXT_PUBLIC_BASE_URL}restart: alwayscommand: sh -c "yarn prisma migrate deploy && yarn start"depends_on: