source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/docker/alpine/web2py-rocket-ssl/Dockerfile

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: 764 bytes
Line 
1FROM alpine:latest
2
3#LABEL your_label
4
5RUN apk add --no-cache python py-pip py-setuptools unzip wget openssl && \
6 pip install --upgrade pip && \
7 pip install virtualenv
8
9RUN wget -c http://web2py.com/examples/static/web2py_src.zip && \
10 unzip -o web2py_src.zip && \
11 rm -rf /web2py/applications/examples && \
12 cd /web2py && \
13 openssl genrsa 1024 > web2py.key && chmod 400 web2py.key && \
14 openssl req -new -x509 -nodes -sha1 -days 1780 -subj '/C=ID/ST=Jakarta/L=Jakarta/O=stifix/OU=IT/CN=stifix.com' -key web2py.key > web2py.crt && \
15 openssl x509 -noout -fingerprint -text < web2py.crt > web2py.info && \
16 chmod 755 -R /web2py
17
18WORKDIR /web2py
19
20EXPOSE 443
21
22CMD 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.