mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 00:52:50 +00:00
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