Skip to content

Commit

Permalink
Fixed dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hkirat committed Sep 17, 2024
1 parent 677ecb1 commit e6b189f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /usr/src/app
COPY . .

RUN npm install
RUN DATABASE_URL=$DATABASE_URL npx prisma generate
RUN cd packages/db && DATABASE_URL=$DATABASE_URL npx prisma generate && cd ../..
RUN DATABASE_URL=$DATABASE_URL npm run build

EXPOSE 3000
Expand Down

0 comments on commit e6b189f

Please sign in to comment.