This commit includes: - Django backend with multi-tenancy (django-tenants) - React + TypeScript frontend with Vite - Platform administration API with role-based access control - Authentication system with token-based auth - Quick login dev tools for testing different user roles - CORS and CSRF configuration for local development - Docker development environment setup 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
344 B
Docker
17 lines
344 B
Docker
FROM node:22-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json package-lock.json* ./
|
|
RUN npm install --network-timeout=600000 --retry 3
|
|
|
|
COPY . .
|
|
|
|
# Startup script that ensures node_modules are in sync with package.json
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
|
RUN chmod +x /docker-entrypoint.sh
|
|
|
|
EXPOSE 5173
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|