Files
challenge_cloud_accelerator/README.md
Nicolas Sebastian Schuler eaa96ef6ce (feat) add Dockerfile
2025-07-16 10:48:46 +02:00

40 lines
677 B
Markdown

# Simple Notification Forwarding Application
This Application is a simple REST-API for forwarding notifications.
## Preperations for Virtual Environment
```bash
git clone https://git.n-schuler.dev/nicolas/challenge_cloud_accelerator.git
cd challenge_cloud_accelerator
uv venv .venv && source .venv/bin/activate
uv sync
```
## Usage
```bash
fastapi run app/main.py
```
## Build Docker Image
```bash
docker build -t stack:latest .
```
## Use Docker Image
```bash
docker run -d --name mycontainer -p 80:80 stack:latest
```
## Testing
```bash
source .venv/bin/activate
pytest
```
## Documentation
The OpenAPI Documentation is available at `0.0.0.0:8000/docs`.