diff --git a/admin-compliance/Dockerfile b/admin-compliance/Dockerfile index 10fb46a..61494a6 100644 --- a/admin-compliance/Dockerfile +++ b/admin-compliance/Dockerfile @@ -22,6 +22,9 @@ ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL ENV NEXT_PUBLIC_OLD_ADMIN_URL=$NEXT_PUBLIC_OLD_ADMIN_URL ENV NEXT_PUBLIC_SDK_URL=$NEXT_PUBLIC_SDK_URL +# Ensure public directory exists (Next.js standalone needs it) +RUN mkdir -p public + # Build the application RUN npm run build diff --git a/developer-portal/Dockerfile b/developer-portal/Dockerfile index 20267ee..3dd000e 100644 --- a/developer-portal/Dockerfile +++ b/developer-portal/Dockerfile @@ -12,6 +12,9 @@ RUN npm install # Copy source code COPY . . +# Ensure public directory exists +RUN mkdir -p public + # Build the application RUN npm run build