getbind2api / Dockerfile
ERROR418's picture
Update Dockerfile
ec8eefd verified
raw
history blame contribute delete
306 Bytes
# 使用与原始镜像相同的基础镜像
FROM ghcr.io/deanxv/getbind2api
# 设置工作目录
WORKDIR /app
# 设置时区
ENV TZ=Asia/Shanghai
# 创建数据目录
RUN mkdir -p /app/getbind2api/data
# 暴露端口
EXPOSE 7860
# 启动命令
CMD ["sh", "-c", "cd /app/getbind2api && ./getbind2api"]