Add frontend service to Docker setup and configure networking

Introduced a new `frontend` service in `docker-compose.yml`, complete with build, healthchecks, and networking. Added a multi-stage Dockerfile for the frontend, a `.dockerignore` file, and a startup script to wait for the backend. Updated Next.js configuration for Docker compatibility and added API type definitions.
This commit is contained in:
2025-02-27 12:59:39 +01:00
parent 3f1e1320f2
commit 03f4792232
7 changed files with 105 additions and 17 deletions

7
frontend/.dockerignore Normal file
View File

@@ -0,0 +1,7 @@
node_modules
.next
*.log
.git
.env*
.dockerignore
Dockerfile