Commit Graph

629 Commits

Author SHA1 Message Date
Stephanos A.
c3d7803bd5 Fix: Replace invalid COPY commands inside RUN with proper multi-stage copy instructions
The RUN instruction cannot contain COPY commands. Fixed by moving the COPY
instructions outside the RUN block and copying both Next.js (.next) and
Vite (dist) build outputs from the builder stage. The nginx configuration
can serve both build outputs appropriately.

Fixes: Docker build failure with "COPY: not found" error
2026-06-02 23:33:56 +03:00
Stephanos A.
0b02944180 fix: Update Dockerfile.web to support Next.js .next directory output
- Check for both .next (Next.js) and dist (Vite/other) directories
- Copy .next and public assets for Next.js builds
- Fallback to dist directory for other build tools
- Fixes build verification for @edr/passenger-backoffice Next.js app
2026-06-02 23:30:51 +03:00
Stephanos A.
ca3fb0b342 fix: configure Next.js build output to dist directory for Docker build 2026-06-02 23:30:43 +03:00
Stephanos A.
343bf1cb47 Merge pull request #77 from Tria-plc/alpha
Refactor layout components to use Tailwind CSS for font styling and u…
2026-06-02 23:24:07 +03:00
Stephanos A
cdc037860c Merge branch 'dev' into alpha 2026-06-02 23:23:44 +03:00
Stephanos A
f29e8d95fd Refactor layout components to use Tailwind CSS for font styling and update font family configuration 2026-06-02 23:19:44 +03:00
Stephanos A.
59d05b19cc Fix: Make Inter font loading resilient to network failures during build
Replace direct Inter font import with fallback to system fonts. This prevents the build from failing if fonts.googleapis.com is unreachable during Docker build.

The `fallback` parameter ensures that if the Google Font fails to load, the application will gracefully fall back to system fonts instead of failing the entire build process.
2026-06-02 23:11:56 +03:00
Stephanos A.
36aa824680 Fix: Make Inter font loading resilient to network failures during build
Replace direct Inter font import with fallback to system fonts. This prevents the build from failing if fonts.googleapis.com is unreachable during Docker build.

The `fallback` parameter ensures that if the Google Font fails to load, the application will gracefully fall back to system fonts instead of failing the entire build process.
2026-06-02 23:11:31 +03:00
Stephanos A.
9706000998 fix: increase network timeout and retries for external resource fetching during Docker build
- Increase fetch-timeout to 120 seconds (default was likely 30s)
- Set retry min/max timeouts to handle transient network issues
- Increase fetch-retries to 5 (from default 2)
- Add NODE_OPTIONS with increased heap size to prevent OOM during build
- Resolves intermittent timeout failures when downloading Google Fonts and other CDN resources
2026-06-02 23:04:18 +03:00
Stephanos A.
5e67f680e4 fix: Add network timeout configuration to .npmrc
- Increase fetch-timeout to 60s (default: 30s)
- Add retry timeout configuration for external resources
- Improves resilience to transient network failures like Google Fonts requests
2026-06-02 23:02:15 +03:00
Stephanos A.
16e54a3a6c fix: Add .next directory to build outputs in turbo.json
- Includes Next.js build output directory (.next)
- Ensures Turbo cache properly recognizes all build outputs
- Fixes missing output file warnings
2026-06-02 23:02:00 +03:00
Stephanos A.
5645a95dd6 fix: Add build output validation to Dockerfile.web
- Verify dist directory exists after build completes
- Provides better error messaging if build outputs are missing
- Prevents silent failures that result in empty COPY commands
2026-06-02 23:01:43 +03:00
Stephanos A.
25fc057ac7 fix: Add --no-cache flag to docker compose build to prevent stale cache issues 2026-06-02 22:40:47 +03:00
Stephanos A.
58a851f413 fix: Add error handling to Dockerfile.web build stage 2026-06-02 22:40:29 +03:00
Stephanos A.
eeca99a481 Merge pull request #76 from Tria-plc/alpha
Build issues resolution
2026-06-02 22:35:49 +03:00
Stephanos A
4a71708d96 Build issues resolution 2026-06-02 22:35:07 +03:00
Stephanos A.
ec29114609 Merge pull request #75 from Tria-plc/alpha
Deployment issues fix
2026-06-02 21:58:56 +03:00
Stephanos A
aa41cc54a3 Deployment issues fix 2026-06-02 21:58:09 +03:00
Stephanos A.
a3339aeb50 Merge pull request #74 from Tria-plc/alpha
Remove old files and fix data assignment in passenger dashboard
2026-06-02 21:15:51 +03:00
Stephanos A
c0e6e23c76 Fix redundant line in recent bookings data assignment on passenger backoffice dashboard 2026-06-02 21:14:10 +03:00
Stephanos A
b1b8e378ca Merge branch 'alpha' of https://github.com/Tria-plc/edr-platform into alpha 2026-06-02 21:11:24 +03:00
Stephanos A
bafb5e1c72 Removed remaining old files 2026-06-02 21:11:19 +03:00
Stephanos A.
b6681c5a36 Merge pull request #73 from Tria-plc/alpha
Removed old folders and files from passenger web apps
2026-06-02 20:55:57 +03:00
Stephanos A
ae85e28c8d Merge branch 'dev' into alpha 2026-06-02 20:55:25 +03:00
Stephanos A
5c0a118f13 Build and deployment issues resolutions 2026-06-02 20:48:14 +03:00
Stephanos A
3e27933c71 Removed old files 2026-06-02 20:36:01 +03:00
Stephanos A.
254fdf2f02 Merge pull request #72 from Tria-plc/alpha
Restore deployment for passenger web apps
2026-06-02 19:55:41 +03:00
Stephanos A
e69b63d088 Restore deployment for passenger web apps 2026-06-02 19:52:20 +03:00
Stephanos A.
47d44ab1c5 Merge pull request #71 from Tria-plc/revert-70-alpha
Build related issues resolution
2026-06-02 19:41:58 +03:00
Stephanos A.
03387fb226 Revert "Build related issues resolution" 2026-06-02 19:40:54 +03:00
Stephanos A.
b7b5582098 Merge pull request #70 from Tria-plc/alpha
Build related issues resolution
2026-06-02 19:33:18 +03:00
Stephanos A
5c59ea8e76 Merge branch 'dev' into alpha 2026-06-02 19:32:11 +03:00
Stephanos A
dcba12993f Build related issues resolution 2026-06-02 19:14:34 +03:00
hagiye
18015ceaff Merge freight/develop 2026-06-02 17:11:51 +03:00
marshal
0eeb0e0d6f Merge pull request #69 from Tria-plc/freight_feature/rule_engine_and_design
add migration file when the app is starting
2026-06-02 16:44:50 +03:00
marshal
f93a502247 add migration file when the app is starting 2026-06-02 16:43:37 +03:00
Michael Abebe
5727680ea6 Merge pull request #67 from Tria-plc/freight/feature/edr_org_seeder
Freight/feature/edr org seeder
2026-06-02 16:16:36 +03:00
Michael Abebe
27ce600706 Merge branch 'freight/develop' into freight/feature/edr_org_seeder 2026-06-02 16:05:01 +03:00
ghost2023
dab72217e1 feat(bookings): Integrate booking list and detail pages with backend API 2026-06-02 16:04:47 +03:00
Michael Abebe
b5dbfc25c3 WIP 2026-06-02 15:59:58 +03:00
SennayT
c9af19687c remove pipelines for frontends 2026-06-02 15:35:05 +03:00
Stephanos A.
4ba6006331 Fix: Update import path in ScheduleDetailPage to use path alias 2026-06-02 15:04:38 +03:00
Stephanos A.
8c605d31f5 Merge pull request #66 from Tria-plc/alpha
Merge from alpha to dev: updates to the passenger web portal and api endpoints
2026-06-02 14:57:54 +03:00
Stephanos A
34940ca843 Merge branch 'alpha' of https://github.com/Tria-plc/edr-platform into alpha 2026-06-02 14:51:19 +03:00
Stephanos A
ed30ab0cda Updated the passenger web portal and added more endpoints to the api 2026-06-02 14:51:12 +03:00
ghost2023
34bf4ade48 refactor(api): Introduce unified API layer for freight backoffice 2026-06-02 14:43:18 +03:00
ghost2023
169e49faae fixes 2026-06-02 14:04:23 +03:00
Michael Abebe
88a280eea2 WIP 2026-06-02 13:50:54 +03:00
Michael Abebe
2a489ca18d WIP 2026-06-02 12:12:28 +03:00
Michael Abebe
88219ee9b8 WIP 2026-06-02 12:12:20 +03:00