chore:some cleaning up

This commit is contained in:
2025-09-29 17:14:26 +02:00
parent 204a443847
commit 0b44f10459
13 changed files with 35 additions and 77 deletions

View File

@@ -1,16 +0,0 @@
FROM node:20-alpine AS builder
WORKDIR /app
COPY package.json ./
RUN npm install
COPY . .
RUN DATABASE_URL="postgres://user:pass@localhost:5432/db" npm run build
# DATABASE_URL is only needed at build time for Prisma to generate the client. It is not needed at runtime and will be replaced by the hosted neon database.
FROM node:20-alpine AS runner
WORKDIR /app
COPY --from=builder /app ./
ENV NODE_ENV=production
EXPOSE 3000
# Start the application
CMD ["node", "build"]