Spaces:
Build error
Build error
metadata
title: Final Alif Implementation
emoji: 🚀
colorFrom: blue
colorTo: green
sdk: docker
app_port: 3001
Final Alif Implementation
A Node.js application with React frontend.
Docker Deployment
Using Docker
Build the Docker image:
docker build -t final-alif-implementation .Run the container:
docker run -p 3001:3001 \ -e GEMINI_API_KEY=your_api_key \ -e DATABASE_URL=your_database_url \ final-alif-implementation
Using Docker Compose
Create a
.env.dockerfile from the template:# On Windows copy .env.docker.template .env.docker # On Linux/Mac cp .env.docker.template .env.dockerEdit the
.env.dockerfile with your environment variablesRun with Docker Compose:
docker-compose up -dOr use the provided deployment scripts:
# On Windows .\docker-deploy.bat # On Linux/Mac ./docker-deploy.shAccess the application at http://localhost:3001
Development
Install dependencies:
npm installRun the development server:
npm run dev