fix: fetch OpenAPI doc from browser to avoid Docker network isolation, add Swagger 2.0 support
This commit is contained in:
@@ -8,6 +8,8 @@ services:
|
||||
context: .
|
||||
dockerfile: packages/server/Dockerfile
|
||||
target: deps
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
command: >
|
||||
sh -c "
|
||||
npx prisma generate --schema=prisma/schema.prisma &&
|
||||
|
||||
Reference in New Issue
Block a user