Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
EinsEli authored Jan 27, 2025
1 parent 1374ee3 commit 9739df5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ WORKDIR /app
ENV NODE_ENV=production

# Set the commit SHA
ARG COMMIT_SHA
ENV COMMIT_SHA=$COMMIT_SHA
ARG GITHUB_SHA
ENV COMMIT_SHA=$GITHUB_SHA

COPY prisma ./prisma
COPY --from=builder /app/public ./public
Expand All @@ -49,4 +49,4 @@ EXPOSE 3000

ENV PORT=3000

CMD ["sh", "-c", "echo 'Waiting 10 seconds for Database startup...' && sleep 10 && npx prisma migrate deploy --schema=./prisma/schema.prisma && HOSTNAME=0.0.0.0 node server.js"]
CMD ["sh", "-c", "echo 'Waiting 10 seconds for Database startup...' && sleep 10 && npx prisma migrate deploy --schema=./prisma/schema.prisma && HOSTNAME=0.0.0.0 node server.js"]

0 comments on commit 9739df5

Please sign in to comment.