notdiamond2api / Dockerfile
sugar404's picture
Create Dockerfile
d9e6c32 verified
raw
history blame contribute delete
306 Bytes
# 使用指定的基础镜像
FROM fjiabinc/notdiamond2api:latest
# 设置环境变量
ENV PORT=3000 \
AUTH_EMAIL[email protected] \
AUTH_PASSWORD=your_password \
AUTH_ENABLED=true \
AUTH_TOKEN=your_token_here
# 暴露端口 3000
EXPOSE 3000
# 启动命令
CMD ["python", "app.py"]