na / Dockerfile
rclon's picture
Upload 3 files
9c38ab1 verified
raw
history blame
246 Bytes
FROM pengzhile/new-api
RUN apk add --no-cache nginx && \
mkdir -p /data && chmod 777 /data
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 7860
# 创建一个启动脚本
COPY start.sh /start.sh
RUN chmod +x /start.sh
CMD ["/start.sh"]