source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/docker/opensuse/web2py-rocket/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: 702 bytes
Line 
1FROM opensuse:latest
2
3#LABEL your_label
4
5RUN zypper in -y python python-pip python-setuptools unzip wget && \
6 pip install --upgrade pip && \
7 pip install virtualenv
8
9RUN groupadd -r web2py && \
10 useradd -m -r -g web2py web2py
11
12USER web2py
13
14RUN 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
23WORKDIR /home/web2py/web2py
24
25EXPOSE 8000
26
27CMD . /home/web2py/bin/activate && python /home/web2py/web2py/web2py.py --no_gui --no_banner -a 'a' -i 0.0.0.0 -p 8000
Note: See TracBrowser for help on using the repository browser.