source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/docker/python/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: 497 bytes
Line 
1FROM python:2.7
2
3#LABEL your_label
4
5RUN apt update && \
6 apt install -y unzip wget
7
8RUN groupadd -r web2py && \
9 useradd -m -r -g web2py web2py
10
11USER web2py
12
13RUN cd /home/web2py/ && \
14 wget -c http://web2py.com/examples/static/web2py_src.zip && \
15 unzip -o web2py_src.zip && \
16 rm -rf /home/web2py/web2py/applications/examples && \
17 chmod 755 -R /home/web2py/web2py
18
19WORKDIR /home/web2py/web2py
20
21EXPOSE 8000
22
23CMD 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.