version: '3.8' services: smart-search: build: context: . dockerfile: docker/DockerFile # Adjust if the Dockerfile is named differently or located elsewhere container_name: smart-search volumes: - .:/app # Replace 'your-code-dir' with your actual code directory ports: - "8000:8000" # Port mapping corrected to match your application's port env_file: - docker/.env # Replace with the path to your actual environment file