kronos / Dockerfile
ariesljm's picture
Create Dockerfile
c281567 verified
raw
history blame contribute delete
313 Bytes
FROM python:3.12
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 这里我们需要把你的 Kronos 库代码放进去
# 你需要把 user_data/lib/Kronos 文件夹上传到 Space 的根目录
COPY . .
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]