LLM-front-docker / Dockerfile
Songyou's picture
Update Dockerfile
1b9ab11 verified
raw
history blame contribute delete
328 Bytes
# 使用官方 Python 3.8 基础镜像
FROM python:3.11
# 设置工作目录
WORKDIR /app
# 复制当前目录中的所有文件到容器内
COPY . /app
# 安装应用的依赖
RUN pip install --no-cache-dir -r requirements.txt
# 开放端口 7860
EXPOSE 6861
# 启动 FastAPI 应用
CMD ["python", "./clm-frontend-dev.py"]