mirror of
https://github.com/PeterMaquiran/tvone-api.git
synced 2026-04-22 03:55:50 +00:00
@@ -12,6 +12,10 @@ RUN pnpm install --frozen-lockfile
|
||||
# Copy source
|
||||
COPY . .
|
||||
|
||||
# Required by prisma generate during image build
|
||||
ARG DATABASE_URL="postgres://tvone:tvone_password@db:5432/tvone"
|
||||
ENV DATABASE_URL=$DATABASE_URL
|
||||
|
||||
# Build NestJS
|
||||
RUN pnpm build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user