mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
Merge branch 'dev' into alpha
This commit is contained in:
@@ -41,8 +41,9 @@ RUN NODE_OPTIONS="--max-old-space-size=4096" pnpm turbo build --filter="${TURBO_
|
||||
exit 1)
|
||||
|
||||
# Verify build output exists before proceeding
|
||||
RUN if [ ! -d "/app/${APP_PATH}/dist" ]; then \
|
||||
echo "ERROR: Build output directory not found at /app/${APP_PATH}/dist"; \
|
||||
# Check for .next directory (Next.js) or dist directory (Vite/other)
|
||||
RUN if [ ! -d "/app/${APP_PATH}/.next" ] && [ ! -d "/app/${APP_PATH}/dist" ]; then \
|
||||
echo "ERROR: Build output directory not found at /app/${APP_PATH}/.next or /app/${APP_PATH}/dist"; \
|
||||
echo "Contents of /app/${APP_PATH}:"; \
|
||||
ls -la /app/${APP_PATH}/ 2>/dev/null || echo "Directory does not exist"; \
|
||||
exit 1; \
|
||||
|
||||
Reference in New Issue
Block a user