source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/docker/centos/web2py-gevent/Dockerfile @ 42095c5

mainqndtest v1.1.1
Last change on this file since 42095c5 was 42bd667, checked in by David Fuertes <dfuertes@…>, 4 years ago

Historial Limpio

  • Property mode set to 100755
File size: 757 bytes
Line 
1FROM centos:latest
2
3#LABEL your_label
4
5RUN yum install -y epel-release && \
6 yum install -y python python-pip python-setuptools unzip wget python-gevent --nogpgcheck && \
7 pip install --upgrade pip && \
8 pip install virtualenv
9
10RUN groupadd -r web2py && \
11 useradd -m -r -g web2py web2py
12
13USER web2py
14
15RUN virtualenv /home/web2py && \
16 rm -rf /home/web2py/web2py && \
17 cd /home/web2py/ && \
18 rm -f web2py_src.zip && \
19 wget -c http://web2py.com/examples/static/web2py_src.zip && \
20 unzip -o web2py_src.zip && \
21 rm -rf /home/web2py/web2py/applications/examples && \
22 chmod 755 -R /home/web2py/web2py
23
24WORKDIR /home/web2py/web2py
25
26EXPOSE 8000
27
28CMD . /home/web2py/bin/activate && /usr/bin/python /home/web2py/web2py/anyserver.py -s gevent -i 0.0.0.0 -p 8000
Note: See TracBrowser for help on using the repository browser.