chore: update dummy database url for docker build
This commit is contained in:
1 parent
ac013f9fdb
commit
e733370f43
1 file changed
+2
-2
+2
-2
@@ -20,7 +20,7 @@ COPY . .
|
||||
|
||||
# Environment variables must be present at build time
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
ENV DATABASE_URL="file:dev.db"
|
||||
ENV DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy"
|
||||
|
||||
# Generate Prisma Client
|
||||
RUN npx prisma generate
|
||||
@@ -34,7 +34,7 @@ WORKDIR /app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
ENV DATABASE_URL="file:dev.db"
|
||||
ENV DATABASE_URL="postgresql://dummy:dummy@localhost:5432/dummy"
|
||||
|
||||
RUN addgroup --system --gid 1001 nodejs
|
||||
RUN adduser --system --uid 1001 nextjs
|
||||
|
||||
Reference in new issue
Block a user