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:
676 bytes
|
Line | |
---|
1 | FROM python:2.7 |
---|
2 | |
---|
3 | #LABEL your_label |
---|
4 | |
---|
5 | RUN apt update && \ |
---|
6 | apt install -y unzip wget |
---|
7 | |
---|
8 | RUN wget -c http://web2py.com/examples/static/web2py_src.zip && \ |
---|
9 | unzip -o web2py_src.zip && \ |
---|
10 | rm -rf /web2py/applications/examples && \ |
---|
11 | cd /web2py && \ |
---|
12 | openssl genrsa 1024 > web2py.key && chmod 400 web2py.key && \ |
---|
13 | 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 && \ |
---|
14 | openssl x509 -noout -fingerprint -text < web2py.crt > web2py.info && \ |
---|
15 | chmod 755 -R /web2py |
---|
16 | |
---|
17 | WORKDIR /web2py |
---|
18 | |
---|
19 | EXPOSE 443 |
---|
20 | |
---|
21 | CMD 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.