Corretti commenti, cfg thttpd
This commit is contained in:
parent
e3d1b88f93
commit
ee8339aa2c
|
@ -6,8 +6,7 @@ RUN apk add thttpd
|
||||||
RUN apk add python
|
RUN apk add python
|
||||||
RUN apk add py-pip
|
RUN apk add py-pip
|
||||||
|
|
||||||
|
COPY thttpd.conf /srv/thttpd.conf
|
||||||
CMD install.sh
|
CMD install.sh
|
||||||
|
|
||||||
# TODO: integrare in install?
|
ENTRYPOINT ["thttpd" "-C" "/srv/thttpd.conf"]
|
||||||
# TODO: opzioni per cgi
|
|
||||||
ENTRYPOINT ["thttpd -D -d /srv/cgi"]
|
|
|
@ -25,11 +25,12 @@ for url in ${REPO[*]}; do
|
||||||
|
|
||||||
pushd $PRJ_DIR
|
pushd $PRJ_DIR
|
||||||
|
|
||||||
# Link template to the actual configuration
|
# Linka la configurazione nel sottovolume
|
||||||
ln -s $CFG_DIR/$PRJ_DIR.conf.ini conf/conf.custom.ini
|
ln -s $CFG_DIR/$PRJ_DIR.conf.ini conf/conf.custom.ini
|
||||||
test $? -eq 0 || die
|
test $? -eq 0 || die
|
||||||
|
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
test $? -eq 0 || die
|
||||||
|
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
dir=/srv/www
|
||||||
|
charset=utf-8
|
||||||
|
cgipat=**.cgi
|
Loading…
Reference in New Issue