Fix: Add node_modules volume for Prisma
This commit is contained in:
@@ -12,7 +12,7 @@ services:
|
||||
container_name: postgres
|
||||
restart: always
|
||||
networks:
|
||||
- infra-network
|
||||
- infra
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
@@ -30,7 +30,7 @@ services:
|
||||
container_name: gitea
|
||||
restart: always
|
||||
networks:
|
||||
- infra-network
|
||||
- infra
|
||||
ports:
|
||||
- "3001:3000"
|
||||
- "2221:22"
|
||||
@@ -86,6 +86,7 @@ services:
|
||||
- /opt/xflow/.output:/app/.output
|
||||
- /opt/xflow/prisma:/app/prisma:ro
|
||||
- /opt/xflow/prisma.config.ts:/app/prisma.config.ts:ro
|
||||
- /opt/xflow/node_modules:/app/node_modules:ro
|
||||
networks:
|
||||
infra:
|
||||
external: true
|
||||
|
||||
Reference in New Issue
Block a user