Skip to content

Commit

Permalink
fix: Fix build after adding prisma (TT-1509)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusLevang committed Aug 1, 2024
1 parent ff4c0aa commit 3619352
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ COPY . .

ENV NEXT_TELEMETRY_DISABLED 1

RUN npx prisma generate
COPY prisma ./prisma/

RUN npm run build

FROM base AS runner
Expand All @@ -46,4 +49,4 @@ EXPOSE 3000

ENV PORT 3000

CMD HOSTNAME="0.0.0.0" node server.js
CMD HOSTNAME="0.0.0.0" node server.js

0 comments on commit 3619352

Please sign in to comment.