@ -44,6 +44,7 @@ RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.n
&& ln -s /var/www/machete/bin/smbpwd.sh /usr/bin/smbpwd
EXPOSE 80/tcp
EXPOSE 445/tcp
ENTRYPOINT ["/var/www/machete/docker-entrypoint.sh"]
# 默认使用导航站皮肤:manual
CMD ["manual"]
@ -10,6 +10,7 @@ echo "Theme chosed [${theme}]."
cd /var/www/machete/runtime/
rm -f custom_config.json
cp "../conf/custom_config_${theme}.json" ./custom_config.json
chown apache:apache custom_config.json
## 启动samba
if [ -e /usr/sbin/smbd ]; then
@ -7,4 +7,4 @@ docker rmi filesite/machete
docker build --no-cache -t filesite/machete -f ./Dockerfile .
## build filesite/machete:samba
docker build --no-cache -t filesite/machete:samba -f ./Dockerfile_samba .