Skip to content

Commit

Permalink
sdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Bit-Barron committed Nov 2, 2024
1 parent 1776d64 commit 8d12f6c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Dockerfile
FROM node:20-alpine AS builder

WORKDIR /app
Expand All @@ -20,7 +19,6 @@ WORKDIR /app

RUN npm install -g pnpm

# Environment Variables
ARG DATABASE_URL
ARG SMTP_HOST
ARG SMTP_PORT
Expand Down Expand Up @@ -51,9 +49,6 @@ COPY --from=builder /app/prisma ./prisma

RUN pnpm install --prod --frozen-lockfile

HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/api/health || exit 1

EXPOSE 3000

CMD ["node", "build"]

0 comments on commit 8d12f6c

Please sign in to comment.