update docker file

This commit is contained in:
2026-07-13 18:00:03 +05:30
parent 28bc36f983
commit d61aeac2bf
732 changed files with 29 additions and 92352 deletions

View File

@@ -12,10 +12,17 @@ npm run build
echo "🧹 Preparing build context..."
cd ../doormile-build
rm -rf build
mkdir -p build
# Copy the static export into the build folder
echo "📦 Copying static export..."
cp -R ../doormile-next/out ./build
# Copy Next.js standalone server and dependencies
echo "📦 Copying standalone build files..."
cp -R ../doormile-next/.next/standalone/. ./build/
# Copy public folder and static assets
echo "📦 Copying public and static assets..."
cp -R ../doormile-next/public ./build/
mkdir -p ./build/.next
cp -R ../doormile-next/.next/static ./build/.next/
# Run the docker build
echo "🐳 Building Docker image..."