thinkbuddy2api / Dockerfile
kevin
think buddy
feb939c
raw
history blame contribute delete
301 Bytes
FROM python:3.10.16-slim
WORKDIR /app
# 复制所需文件到容器中
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
ENV APP_SECRET="sk-123456"
ENV REQUEST_TIMEOUT=30
# Expose port
EXPOSE 8001
# Run the application
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8001"]