fix frontend
This commit is contained in:
+10
-4
@@ -92,7 +92,7 @@ services:
|
||||
- .env.docker.dev
|
||||
environment:
|
||||
FILE_STORAGE_ROOT: /var/lib/rentaldrivego/storage
|
||||
command: ["sh", "-c", "npm run build --workspace @rentaldrivego/types && cd /app/apps/api && exec /app/node_modules/.bin/ts-node-dev --respawn --transpile-only src/index.ts"]
|
||||
command: ["sh", "-c", "npm run build --workspace @rentaldrivego/types && cd /app/apps/api && exec /app/node_modules/.bin/ts-node-dev --respawn --transpile-only --ignore-watch ../../packages/types/dist src/index.ts"]
|
||||
ports:
|
||||
- "4000:4000"
|
||||
volumes:
|
||||
@@ -114,13 +114,14 @@ services:
|
||||
[
|
||||
"sh",
|
||||
"-c",
|
||||
"npm run build --workspace @rentaldrivego/types && cd /app/apps/marketplace && rm -rf .next && exec env PATH=/app/docker/scripts:$PATH /app/node_modules/.bin/next dev -H 0.0.0.0 -p 3000",
|
||||
"npm run build --workspace @rentaldrivego/types && cd /app/apps/marketplace && mkdir -p .next && find .next -mindepth 1 -exec rm -rf {} + && exec env PATH=/app/docker/scripts:$PATH /app/node_modules/.bin/next dev -H 0.0.0.0 -p 3000",
|
||||
]
|
||||
ports:
|
||||
- "3000:3000"
|
||||
volumes:
|
||||
- .:/app
|
||||
- app_node_modules:/app/node_modules
|
||||
- marketplace_next:/app/apps/marketplace/.next
|
||||
restart: unless-stopped
|
||||
profiles: ["marketplace", "full"]
|
||||
|
||||
@@ -136,13 +137,14 @@ services:
|
||||
[
|
||||
"sh",
|
||||
"-c",
|
||||
"npm run build --workspace @rentaldrivego/types && cd /app/apps/dashboard && rm -rf .next && exec env PATH=/app/docker/scripts:$PATH /app/node_modules/.bin/next dev -H 0.0.0.0 -p 3001",
|
||||
"npm run build --workspace @rentaldrivego/types && cd /app/apps/dashboard && mkdir -p .next && find .next -mindepth 1 -exec rm -rf {} + && exec env PATH=/app/docker/scripts:$PATH /app/node_modules/.bin/next dev -H 0.0.0.0 -p 3001",
|
||||
]
|
||||
ports:
|
||||
- "3001:3001"
|
||||
volumes:
|
||||
- .:/app
|
||||
- app_node_modules:/app/node_modules
|
||||
- dashboard_next:/app/apps/dashboard/.next
|
||||
restart: unless-stopped
|
||||
profiles: ["dashboard", "full"]
|
||||
|
||||
@@ -158,13 +160,14 @@ services:
|
||||
[
|
||||
"sh",
|
||||
"-c",
|
||||
"npm run build --workspace @rentaldrivego/types && cd /app/apps/admin && rm -rf .next && exec env PATH=/app/docker/scripts:$PATH /app/node_modules/.bin/next dev -H 0.0.0.0 -p 3002",
|
||||
"npm run build --workspace @rentaldrivego/types && cd /app/apps/admin && mkdir -p .next && find .next -mindepth 1 -exec rm -rf {} + && exec env PATH=/app/docker/scripts:$PATH /app/node_modules/.bin/next dev -H 0.0.0.0 -p 3002",
|
||||
]
|
||||
ports:
|
||||
- "3002:3002"
|
||||
volumes:
|
||||
- .:/app
|
||||
- app_node_modules:/app/node_modules
|
||||
- admin_next:/app/apps/admin/.next
|
||||
restart: unless-stopped
|
||||
profiles: ["admin", "full"]
|
||||
|
||||
@@ -176,3 +179,6 @@ volumes:
|
||||
app_node_modules:
|
||||
postgres_bootstrap_state:
|
||||
api_uploads_dev:
|
||||
marketplace_next:
|
||||
dashboard_next:
|
||||
admin_next:
|
||||
|
||||
Reference in New Issue
Block a user