Skip to content

Commit

Permalink
Merge pull request #41 from andybeargen/dev
Browse files Browse the repository at this point in the history
properly pass signals to remix
  • Loading branch information
logonoff authored Feb 16, 2024
2 parents 50207e9 + fa4b27c commit ad26c75
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ COPY ./app .
RUN npm run prisma:generate
RUN npm run build

CMD ["sh", "prod.sh"]
CMD ["sh", "docker-entrypoint.sh"]
7 changes: 7 additions & 0 deletions app/docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

set -e

npm run prisma:migrate

exec "/app/node_modules/.bin/remix-serve" "/app/build/index.js"
10 changes: 0 additions & 10 deletions app/prod.sh

This file was deleted.

0 comments on commit ad26c75

Please sign in to comment.