mirror of
https://github.com/PeterMaquiran/tvone-api.git
synced 2026-04-23 04:25:50 +00:00
+3
-2
@@ -13,8 +13,9 @@ RUN pnpm install --frozen-lockfile
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Required by prisma generate during image build
|
# Required by prisma generate during image build
|
||||||
ARG DATABASE_URL="postgres://tvone:tvone_password@db:5432/tvone"
|
echo "DATABASE_URL=postgres://tvone:tvone_password@db:5432/tvone" > .env
|
||||||
ENV DATABASE_URL=$DATABASE_URL
|
echo "PORT=3000" >> .env
|
||||||
|
echo "NODE_ENV=production" >> .env
|
||||||
|
|
||||||
# Build NestJS
|
# Build NestJS
|
||||||
RUN pnpm build
|
RUN pnpm build
|
||||||
|
|||||||
Reference in New Issue
Block a user