mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-09-08 21:48:18 +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)
|
exit 1)
|
||||||
|
|
||||||
# Verify build output exists before proceeding
|
# Verify build output exists before proceeding
|
||||||
RUN if [ ! -d "/app/${APP_PATH}/dist" ]; then \
|
# Check for .next directory (Next.js) or dist directory (Vite/other)
|
||||||
echo "ERROR: Build output directory not found at /app/${APP_PATH}/dist"; \
|
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}:"; \
|
echo "Contents of /app/${APP_PATH}:"; \
|
||||||
ls -la /app/${APP_PATH}/ 2>/dev/null || echo "Directory does not exist"; \
|
ls -la /app/${APP_PATH}/ 2>/dev/null || echo "Directory does not exist"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
|
|||||||
Reference in New Issue
Block a user