Public | Automated Build

Last pushed: 2 days ago
Dockerfile
FROM centos:latest MAINTAINER ywfwj2008 <ywfwj2008@163.com> ENV REMOTE_PATH=https://github.com/ywfwj2008/bt-panel/raw/master WORKDIR /tmp # install bt panel ADD ${REMOTE_PATH}/install.sh /tmp/install.sh RUN chmod 777 install.sh && \ bash install.sh && \ rm -rf /tmp/* # install pure-ftpd RUN bash /www/server/panel/install/install_soft.sh 0 install pure-ftpd && \ rm -rf /tmp/* # install supervisord ADD ./supervisord.conf /etc/supervisor/supervisord.conf RUN pip install --upgrade pip && \ pip install supervisor && \ mkdir -p /etc/supervisor/conf.d /var/log/supervisor && \ rm -rf /tmp/* # expose port EXPOSE 8888 80 443 21 20 888 3306 9001 # Set the entrypoint script. ADD ${REMOTE_PATH}/entrypoint.sh /entrypoint.sh RUN chmod 777 /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] #Define the default command. CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]
Source Repository