first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-03-04 11:47:09 -05:00
commit f6c2249f77
4 changed files with 41 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM python:3.9
WORKDIR ./WrenchBoard/src/wrenchai-api
COPY ./WrenchBoard/src/requirements.txt .
COPY ./WrenchBoard/src ./src
RUN pip install -r requirements.txt
CMD ["python", "./src/wrench.py"]
+2
View File
@@ -0,0 +1,2 @@
uvicorn
fastapi
+12
View File
@@ -0,0 +1,12 @@
import uvicorn
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def central_function():
return {"Neural":"Nine"}
if __name__ == "__main__":
uvicorn.run(app, port=3035,host="0.0.0.0")