Varie correzioni
This commit is contained in:
parent
ee8339aa2c
commit
f424592cc7
|
@ -1,12 +1,21 @@
|
|||
FROM alpine:latest
|
||||
|
||||
COPY install.sh /install.sh
|
||||
EXPOSE 80
|
||||
|
||||
COPY install.sh /install.sh
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
RUN mkdir -p /srv/cfg
|
||||
|
||||
RUN apk add bash
|
||||
RUN apk add git
|
||||
RUN apk add thttpd
|
||||
RUN apk add python
|
||||
RUN apk add python3
|
||||
RUN apk add py-pip
|
||||
# senza questo non si compilano alcuni pacchetti pip
|
||||
RUN apk add g++ gcc libxslt-dev
|
||||
|
||||
COPY thttpd.conf /srv/thttpd.conf
|
||||
CMD install.sh
|
||||
RUN bash install.sh
|
||||
|
||||
ENTRYPOINT ["thttpd" "-C" "/srv/thttpd.conf"]
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
thttpd -D -C /srv/thttpd.conf
|
|
@ -8,6 +8,9 @@ function die {
|
|||
DEPLOY_DIR="/srv/cgi"
|
||||
CFG_DIR="/srv/cfg"
|
||||
|
||||
mkdir -p $DEPLOY_DIR
|
||||
mkdir -p $CFG_DIR
|
||||
|
||||
# Lista dei repository CGI
|
||||
REPO[0]="https://git.golem.linux.it/golem/zerocalcare.git"
|
||||
REPO[1]="https://git.golem.linux.it/golem/tpdf.git"
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
dir=/srv/www
|
||||
dir=/srv/cgi
|
||||
port=80
|
||||
charset=utf-8
|
||||
cgipat=**.cgi
|
||||
cgipat=**/main.py
|
Loading…
Reference in New Issue