Skip to content

Commit

Permalink
more delay
Browse files Browse the repository at this point in the history
  • Loading branch information
Theezr committed Aug 14, 2024
1 parent 6cab6b0 commit 5bc64de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ RUN npm install --omit=dev
COPY --chown=node:node --from=build /usr/src/app/node_modules/.prisma/client ./node_modules/.prisma/client

## TODO: hacky way to make sure the db is up before running the migration
CMD ["sh", "-c", "sleep 20; exec npm run start:migrate:prod"]
CMD ["sh", "-c", "sleep 30; exec npm run start:migrate:prod"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ sunset arctic describe battle negative grace fame pottery spin warm wasp arctic

docker run --rm --name pg -p 5432:5432 -e POSTGRES_PASSWORD=welcome postgres:16

docker run -d -p 9901:9901 -e -e DATABASE_URL="postgres://postgres:welcome@host.docker.internal/postgres" gateway-test
docker run -d -p 9901:9901 -e DATABASE_URL="postgres://postgres:welcome@host.docker.internal/postgres" gateway-test

0 comments on commit 5bc64de

Please sign in to comment.