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