feat: add more roles (tech_lead, scrum_master, product_owner, designer, qa)

- Registration form: added 5 new role options to dropdown
- Sidebar: new roles get proper nav access via ALL_ROLES/LEADER_ROLES
- Dashboard: isLeader check expanded to include new leadership roles
- Shared/Pages: role badge colors added for all new roles
- Invite modal: expanded role dropdown
This commit is contained in:
tusuii
2026-02-16 12:31:54 +05:30
parent 2db45de4c4
commit c604df281d
33 changed files with 5006 additions and 71 deletions

View File

@@ -1,12 +1,20 @@
FROM node:22-alpine
# Build Stage
FROM node:22-alpine as build
WORKDIR /app
COPY package.json package-lock.json ./
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
EXPOSE 5173
# Production Stage
FROM nginx:alpine
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]
COPY --from=build /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]