Add study materials field to exam routes and update ExamModal for handling materials

This commit is contained in:
Space-Banane
2026-02-13 22:35:35 +01:00
parent 056519c0f1
commit d3cfca16f9
8 changed files with 124 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
services:
application:
image: node:24-slim
image: node:24
working_dir: /app
volumes:
- ./:/app
@@ -8,9 +8,4 @@ services:
- "$PORT:8080"
env_file:
- .env
command: sh -c "git pull && npm i -g pnpm && cd frontend && pnpm install && pnpm run build && cd ../backend && pnpm install && pnpm run start"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:$PORT/health"]
interval: 30s
timeout: 10s
retries: 3
command: sh -c "npm i -g pnpm && cd frontend && pnpm install && pnpm run build && cd ../backend && pnpm install && pnpm run start"