mod: 修改接口的启动方式
This commit is contained in:
@@ -4,4 +4,4 @@ COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY app/ ./app/
|
||||
EXPOSE 8000
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
CMD ["python", "app/main.py"]
|
||||
|
||||
Reference in New Issue
Block a user