mirror of
https://github.com/keeweb/keeweb.git
synced 2024-06-27 07:45:08 +02:00
docker
This commit is contained in:
parent
7485fe8760
commit
cc44f3211b
|
@ -25,11 +25,11 @@ ADD keeweb.conf /etc/nginx/conf.d/keeweb.conf
|
||||||
ADD entrypoint.sh /opt/entrypoint.sh
|
ADD entrypoint.sh /opt/entrypoint.sh
|
||||||
RUN chmod a+x /opt/entrypoint.sh
|
RUN chmod a+x /opt/entrypoint.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/opt/entrypoint.sh"]
|
|
||||||
CMD ["nginx"]
|
|
||||||
|
|
||||||
# clone keeweb
|
# clone keeweb
|
||||||
RUN git clone --depth 1 --single-branch --branch gh-pages https://github.com/antelle/keeweb.git
|
RUN git clone --depth 1 --single-branch --branch gh-pages https://github.com/antelle/keeweb.git
|
||||||
|
|
||||||
|
ENTRYPOINT ["/opt/entrypoint.sh"]
|
||||||
|
CMD ["nginx"]
|
||||||
|
|
||||||
EXPOSE 443
|
EXPOSE 443
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
|
@ -5,7 +5,7 @@ echo "Welcome to KeeWeb docker container!"
|
||||||
if [ -z ${DH_SIZE+x} ]
|
if [ -z ${DH_SIZE+x} ]
|
||||||
then
|
then
|
||||||
>&2 echo ">> no \$DH_SIZE specified using default"
|
>&2 echo ">> no \$DH_SIZE specified using default"
|
||||||
DH_SIZE="2048"
|
DH_SIZE="1024"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user