feat: implementa webapp FastAPI con API swagger e test
This commit is contained in:
+2
-2
@@ -5,6 +5,6 @@ WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY app.py .
|
||||
COPY . .
|
||||
|
||||
CMD ["python", "-u", "app.py"]
|
||||
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]
|
||||
|
||||
Reference in New Issue
Block a user