mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 06:46:34 +00:00
add python scaffold folder and autodevelopment system
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
FROM python:3.11-slim
|
||||
RUN apt-get update && apt-get install -y libxml2-dev libxslt1-dev && rm -rf /var/lib/apt/lists/*
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . .
|
||||
EXPOSE 8080
|
||||
CMD ["python", "-m", "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]
|
||||
@@ -0,0 +1,3 @@
|
||||
# Azaion.Autopilot
|
||||
|
||||
Python service for autonomous UAV control via MAVLink with behaviour tree execution.
|
||||
@@ -0,0 +1,8 @@
|
||||
from fastapi import FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
|
||||
@app.get("/health")
|
||||
def health():
|
||||
return {"status": "healthy"}
|
||||
@@ -0,0 +1,2 @@
|
||||
fastapi
|
||||
uvicorn[standard]
|
||||
Reference in New Issue
Block a user