py / Dockerfile
kankanlemon's picture
Rename Dockerfile (1) to Dockerfile
576b576 verified
raw
history blame contribute delete
370 Bytes
# 使用你指定的预构建镜像
FROM ghcr.io/aculix/bitplay:main
# 创建配置目录并设置权限
RUN mkdir -p /app/config && \
chmod -R 777 /app/config
# 创建torrent-data目录并设置权限
RUN mkdir -p /app/torrent-data && \
chmod -R 777 /app/torrent-data
# 将工作目录设置为/app
WORKDIR /app
# 声明容器将监听的端口
EXPOSE 3347