Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
hkirat committed Sep 17, 2024
1 parent f222a62 commit 603c372
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RUN cd packages/db && DATABASE_URL=$DATABASE_URL npx prisma generate && cd ../..
## put DATABASE_URL in apps/web/.env
RUN echo DATABASE_URL=$DATABASE_URL >> apps/web/.env
RUN DATABASE_URL=$DATABASE_URL npm run build
## Remove .env file
RUN rm apps/web/.env

EXPOSE 3000

Expand Down

0 comments on commit 603c372

Please sign in to comment.