Don't use wrapper for launching Sahana in Docker
This commit is contained in:
parent
3bd1dd3e43
commit
2b7f42d0db
@ -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"]
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user