new-react / docker-deploy.bat
noumanjavaid's picture
Upload 23 files
65c09e3 verified
raw
history blame contribute delete
733 Bytes
@echo off
REM Docker deployment script for Final Alif Implementation
REM Check if .env.docker exists
IF NOT EXIST .env.docker (
echo Creating .env.docker file...
echo # Add your environment variables below > .env.docker
echo GEMINI_API_KEY=your_api_key >> .env.docker
echo DATABASE_URL=your_database_url >> .env.docker
echo .env.docker created. Please edit it with your actual environment variables.
exit /b 1
)
REM Build the Docker image
echo Building Docker image...
docker build -t final-alif-implementation .
REM Run with Docker Compose
echo Starting application with Docker Compose...
docker-compose up -d
echo Application deployed! Access it at http://localhost:3001
echo Check logs with: docker-compose logs -f