close
Warning:
Failed to sync with repository "ogBrowser-Git": (1366, "Incorrect string value: '\\xF0\\x9F\\x93\\xA6 I...' for column 'message' at row 1"); repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
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:
696 bytes
|
Line | |
---|
1 | FROM alpine:latest |
---|
2 | |
---|
3 | #LABEL your_label |
---|
4 | |
---|
5 | RUN apk add --no-cache python py-pip py-setuptools unzip wget && \ |
---|
6 | pip install --upgrade pip && \ |
---|
7 | pip install virtualenv paste |
---|
8 | |
---|
9 | RUN addgroup -S web2py && \ |
---|
10 | adduser -D -S -G web2py web2py |
---|
11 | |
---|
12 | USER web2py |
---|
13 | |
---|
14 | RUN virtualenv /home/web2py && \ |
---|
15 | rm -rf /home/web2py/web2py && \ |
---|
16 | cd /home/web2py/ && \ |
---|
17 | rm -f web2py_src.zip && \ |
---|
18 | wget -c http://web2py.com/examples/static/web2py_src.zip && \ |
---|
19 | unzip -o web2py_src.zip && \ |
---|
20 | rm -rf /home/web2py/web2py/applications/examples && \ |
---|
21 | chmod 755 -R /home/web2py/web2py |
---|
22 | |
---|
23 | WORKDIR /home/web2py/web2py |
---|
24 | |
---|
25 | EXPOSE 8000 |
---|
26 | |
---|
27 | CMD . /home/web2py/bin/activate && /usr/bin/python /home/web2py/web2py/anyserver.py -s paste -i 0.0.0.0 -p 8000 |
---|
Note: See
TracBrowser
for help on using the repository browser.
Download in other formats: