A simple FastAPI application that displays "Claude Test 1" as an h1 headline.
- Python 3.11 or higher
- pip
- Create a virtual environment:
python -m venv venv- Activate the virtual environment:
# On macOS/Linux
source venv/bin/activate
# On Windows
venv\Scripts\activate- Install dependencies:
pip install -r requirements.txtRun the application with auto-reload for development:
uvicorn main:app --reload --port 8092The application will be available at http://localhost:8092
docker build -t claude-test-1 .docker run -p 8092:8092 claude-test-1The application will be available at http://localhost:8092
GET /- Returns an HTML page with the h1 headline "Claude Test 1"