as question on github, here another alternative works without using ubuntu 
or debian image base file (which posted on prev msg)
docker pull alpine
docker run -it --privileged alpine /bin/sh

apk add --no-cache git py3-pip memcached gcc python3-dev musl-dev make 
/usr/bin/memcached -u memcached &
cd
git clone https://github.com/web2py/web3py
cd web3py
pip3 install pytest mechanize twine
pip3 install -U -r requirements.txt
make test
python3 -c "from pydal.validators import CRYPT; 
open('password.txt','w').write(str(CRYPT()('a' )[0] ) )"
mkdir apps/_scaffold/databases
mkdir apps/examples/databases
touch apps/__init__.py
./web3py-start -p password.txt -a 0.0.0.0:8000 apps

*note :*
- test put the steps above in Dockerfile and build it, not work due to 
/bin/sh: git not found, still find the solution
- test python base image (just pull the base image), seems heavier than 
ubuntu or debian or alpine
- if test using ngrok in alpine consider using 386 version, amd64 not work 
in alpine, ngrok amd64 tested work in ubuntu n debian

best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/a32cddba-7279-4a2f-90eb-9e24a4eb1c4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to