Source code of filesite.io. https://filesite.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
553 B

3 years ago
FROM alpine
RUN apk add php8-fpm nginx && \
mkdir -p /var/www/downloads && cd /var/www/downloads/ && \
wget "https://git.filesite.io/filesite/machete/archive/master.tar.gz" && \
tar -zxvf master.tar.gz && \
mv machete/ /var/www/ && \
cd /var/www/ && rm -rf downloads/ && \
rm -f /etc/nginx/http.d/default.conf && \
cp /var/www/machete/conf/nginx_machete.conf /etc/nginx/http.d/machete.conf
3 years ago
EXPOSE 80/tcp
3 years ago
ENTRYPOINT ["/var/www/machete/docker-entrypoint.sh"]
## 默认使用导航站皮肤:webdirectory
CMD ["webdirectory"]