Preserve web from build
This commit is contained in:
parent
6a21185f0a
commit
9937972d6a
@ -57,6 +57,7 @@ RUN apt-get -o Acquire::ForceIPv4=true update \
|
|||||||
&& mv /opt/sbbs/ctrl /opt/sbbs/ctrl.orig \
|
&& mv /opt/sbbs/ctrl /opt/sbbs/ctrl.orig \
|
||||||
&& mv /opt/sbbs/text /opt/sbbs/text.orig \
|
&& mv /opt/sbbs/text /opt/sbbs/text.orig \
|
||||||
&& mv /opt/sbbs/xtrn /opt/sbbs/xtrn.orig \
|
&& mv /opt/sbbs/xtrn /opt/sbbs/xtrn.orig \
|
||||||
|
&& mv /opt/sbbs/web /opt/sbbs/web.orig \
|
||||||
&& mkdir /opt/sbbs/nodes.orig && mv /opt/sbbs/node[1-5] /opt/sbbs/nodes.orig \
|
&& mkdir /opt/sbbs/nodes.orig && mv /opt/sbbs/node[1-5] /opt/sbbs/nodes.orig \
|
||||||
&& find /opt/sbbs -name CVS -type d -exec rm -rf {} + \
|
&& find /opt/sbbs -name CVS -type d -exec rm -rf {} + \
|
||||||
&& SUDO_FORCE_REMOVE=yes apt-get -y purge git build-essential autoconf2.13 libnspr4-dev libncurses5-dev libarchive-dev libncursesw5-dev wget pkgconf libcap2-bin sudo \
|
&& SUDO_FORCE_REMOVE=yes apt-get -y purge git build-essential autoconf2.13 libnspr4-dev libncurses5-dev libarchive-dev libncursesw5-dev wget pkgconf libcap2-bin sudo \
|
||||||
@ -84,7 +85,7 @@ COPY main.cnf /opt/sbbs/ctrl.orig/
|
|||||||
|
|
||||||
VOLUME [ "/var/lib/zerotier-one" ]
|
VOLUME [ "/var/lib/zerotier-one" ]
|
||||||
VOLUME [ "/var/spool/nncp","/etc/nncp" ]
|
VOLUME [ "/var/spool/nncp","/etc/nncp" ]
|
||||||
VOLUME [ "/opt/sbbs/data","/opt/sbbs/ctrl","/opt/sbbs/fido","/opt/sbbs/mods","/opt/sbbs/text" ]
|
VOLUME [ "/opt/sbbs/data","/opt/sbbs/ctrl","/opt/sbbs/fido","/opt/sbbs/mods","/opt/sbbs/text","/opt/sbbs/web" ]
|
||||||
|
|
||||||
COPY logrotate.d /etc/logrotate.d/
|
COPY logrotate.d /etc/logrotate.d/
|
||||||
RUN chmod 644 /etc/logrotate.d/*
|
RUN chmod 644 /etc/logrotate.d/*
|
||||||
|
Loading…
Reference in New Issue
Block a user