256ff0814e
Build & Deploy / Build & Push Docker Image (push) Failing after 44s
Build & Deploy / Deploy to VPS (push) Has been skipped
Test / API Unit Tests (push) Failing after 5m0s
Test / Marketplace Unit Tests (push) Failing after 4m51s
Test / Admin Unit Tests (push) Successful in 9m31s
Test / Dashboard Unit Tests (push) Successful in 9m37s
Test / API Integration Tests (push) Successful in 9m54s
- Remove apps/marketplace entirely - Create apps/homepage (port 3000): landing/marketing pages (home, features, pricing, platform-ops, review, legal) - Create apps/storefront (port 3004): vehicle browsing (explore) and renter account (dashboard, profile, notifications) - Duplicate shared components/libs into each app - Update homepage header nav: Home, Features, Pricing instead of Home, Explore - Fix all /explore cross-references in homepage to point to /features - Update docker-compose.dev.yml: new homepage and storefront services, remove marketplace - Update docker-compose.production.yml: split into homepage (main domain) and storefront (path-based routes) - Update Dockerfiles: EXPOSE 3004 instead of 3003 - Update root package.json scripts: homepage/storefront profiles, tests, prod scripts - Add docker-prod-up-homepage.sh and docker-prod-up-storefront.sh, remove marketplace script
18 lines
363 B
Docker
18 lines
363 B
Docker
FROM node:20-bookworm
|
|
|
|
WORKDIR /app
|
|
|
|
RUN npm install -g npm@10.5.0 --no-fund --no-audit
|
|
RUN corepack enable
|
|
|
|
COPY package.json package-lock.json turbo.json tsconfig.base.json ./
|
|
COPY apps ./apps
|
|
COPY packages ./packages
|
|
COPY config ./config
|
|
|
|
RUN npm ci --no-fund --no-audit
|
|
|
|
EXPOSE 3000 3001 3002 3004 4000
|
|
|
|
CMD ["sh", "-c", "npm run db:generate && npm run dev"]
|