Don't use wrapper for launching Sahana in Docker

This commit is contained in:
Disassembler 2018-02-10 13:11:43 +01:00
parent 3bd1dd3e43
commit 2b7f42d0db
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
2 changed files with 1 additions and 6 deletions

View File

@ -49,11 +49,10 @@ RUN \
&& rm -r /root/.cache
COPY --chown=8001:8001 docker/srv/ /srv/
COPY docker/usr/ /usr/
VOLUME ["/srv/web2py/applications/eden/models", "/srv/web2py/applications/eden/databases", "/srv/web2py/applications/eden/uploads"]
EXPOSE 8001
USER sahana
WORKDIR /srv/web2py
CMD ["web2py_eden.sh"]
CMD ["./web2py.py", "-a", "eden", "-K", "eden", "-X", "-i", "0.0.0.0", "-p", "8001", "--nogui"]

View File

@ -1,4 +0,0 @@
#!/bin/sh
cd /srv/web2py
./web2py.py -a $(head -c 18 /dev/urandom | base64) -K eden -X -i 0.0.0.0 -p 8001 --nogui