new-api / Dockerfile
yi124773651's picture
Update Dockerfile
9208def verified
raw
history blame contribute delete
274 Bytes
FROM calciumion/new-api:latest
# 确保端口正确
ENV PORT=7860
EXPOSE 7860
# 使用默认的工作目录并运行
# 如果 /one-api 找不到,镜像通常会把文件放在 / 下,我们尝试直接运行
CMD ["/one-api", "--port", "7860", "--log-dir", "/data/logs"]