source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/docker/stack/web2py-rocket-ssl-nginx/web2py-rocket-ssl

main
Last change on this file was 42bd667, checked in by David Fuertes <dfuertes@…>, 4 years ago

Historial Limpio

  • Property mode set to 100755
File size: 724 bytes
Line 
1FROM alpine:latest
2
3RUN apk add --no-cache python py-pip py-setuptools unzip wget openssl && \
4 pip install --upgrade pip && \
5 pip install virtualenv
6
7RUN wget -c http://web2py.com/examples/static/web2py_src.zip && \
8 unzip -o web2py_src.zip && \
9 rm -rf /web2py/applications/examples && \
10 cd /web2py && \
11 openssl genrsa 1024 > web2py.key && chmod 400 web2py.key && \
12 openssl req -new -x509 -nodes -sha1 -days 1780 -subj '/C=c/ST=st/L=l/O=o/OU=ou/CN=cn.com' -key web2py.key > web2py.crt && \
13 openssl x509 -noout -fingerprint -text < web2py.crt > web2py.info && \
14 chmod 755 -R /web2py
15
16WORKDIR /web2py
17
18EXPOSE 443
19
20CMD python /web2py/web2py.py --no_gui --no_banner -a 'a' -k web2py.key -c web2py.crt -i 0.0.0.0 -p 443
Note: See TracBrowser for help on using the repository browser.