Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Commit 19c0a39

Browse files
committed
fix(docker): update DNS settings in compose file and adjust prisma command path
1 parent 576ad94 commit 19c0a39

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

apps/bot/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ COPY --from=deps /app/prisma ./prisma
5656
ENV NODE_ENV=production
5757

5858
# Run migrations then start bot
59-
CMD ["sh", "-c", "npx prisma@6.19.0 migrate deploy --schema=./prisma/schema.prisma && node --enable-source-maps dist/index.js"]
59+
CMD ["sh", "-c", "./node_modules/.bin/prisma migrate deploy --schema=./prisma/schema.prisma && node --enable-source-maps dist/index.js"]

compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ services:
3939
CLIENT_ID: ${CLIENT_ID}
4040
networks:
4141
- khaxy-network
42+
dns:
43+
- 8.8.8.8
44+
- 1.1.1.1
4245

4346
volumes:
4447
postgres_data:

0 commit comments

Comments
 (0)