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 py-pip
|
||||
|
||||
COPY thttpd.conf /srv/thttpd.conf
|
||||
CMD install.sh
|
||||
|
||||
# TODO: integrare in install?
|
||||
# TODO: opzioni per cgi
|
||||
ENTRYPOINT ["thttpd -D -d /srv/cgi"]
|
||||
ENTRYPOINT ["thttpd" "-C" "/srv/thttpd.conf"]
|
|
@ -25,11 +25,12 @@ for url in ${REPO[*]}; do
|
|||
|
||||
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
|
||||
test $? -eq 0 || die
|
||||
|
||||
pip install -r requirements.txt
|
||||
test $? -eq 0 || die
|
||||
|
||||
popd
|
||||
done
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
dir=/srv/www
|
||||
charset=utf-8
|
||||
cgipat=**.cgi
|
Loading…
Reference in New Issue