chore: i think the docker should now build

This commit is contained in:
Rotimi Best
2024-09-20 09:10:05 +01:00
parent 5438d9acf1
commit 4199fce976
3 changed files with 24 additions and 12 deletions
+5 -2
View File
@@ -34,10 +34,13 @@ services:
dashboard:
build:
dockerfile: ./apps/dashboard/Dockerfile
context: .
context: ./
volumes:
- .:/app
- /app/node_modules
- /app/apps/dashboard/node_modules
# command: sh -c "npm install -g pnpm && rm -rf node_modules && yes | pnpm install --frozen-lockfile && cd apps/dashboard && pnpm build && pnpm start"
environment:
- NODE_ENV=production
- IS_SELFHOSTED=true
# Supabase - Database
- PUBLIC_SUPABASE_URL=${PUBLIC_SUPABASE_URL}