هذا الالتزام موجود في:
2026-08-20 21:42:57 +03:00
الأصل a320821d69
التزام e45855e790
36 ملفات معدلة مع 399 إضافات و0 حذوفات

عرض الملف

@@ -0,0 +1,13 @@
{
"app": "fastapi-test",
"project": "fastapi-test",
"_app_id": "2a0c0168-dbf0-4f95-a5e9-a7e330bc56d9",
"_project_id": "e3d04bd4-e8cd-4c19-9a32-5393be67587f",
"port": 8000,
"publicAccess": {
"enabled": true,
"domain": "fastapi-test-f38b02d3c679.hosted.ghaymah.systems"
},
"resourceTier": "t1",
"_detected": "python"
}

عرض الملف

@@ -0,0 +1,23 @@
# 🐍 Auto-generated Dockerfile for Python 3.12
# Ghaymah detected: FastAPI
FROM python:3.12-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
&& rm -rf /var/lib/apt/lists/*
# Copy and install Python dependencies
COPY requirements.txt* setup.py* pyproject.toml* ./
RUN pip install --no-cache-dir -r requirements.txt 2>/dev/null || true
# Copy application code
COPY . .
# Expose port
EXPOSE 8080
# Start the application
CMD ["sh", "-c", "python main.py"]

عرض الملف

@@ -0,0 +1,7 @@
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def hello():
return {"message": "Hello from FastAPI!"}

عرض الملف

@@ -0,0 +1,2 @@
fastapi
uvicorn