source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/docker/python/web2py-waitress/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: 554 bytes
Line 
1FROM python:2.7
2
3#LABEL your_label
4
5RUN apt update && \
6 apt install -y unzip wget python-pip && \
7 pip install --upgrade pip && \
8 pip install waitress
9
10RUN groupadd -r web2py && \
11 useradd -m -r -g web2py web2py
12
13USER web2py
14
15RUN cd /home/web2py/ && \
16 wget -c http://web2py.com/examples/static/web2py_src.zip && \
17 unzip -o web2py_src.zip && \
18 rm -rf /home/web2py/web2py/applications/examples && \
19 chmod 755 -R /home/web2py/web2py
20
21WORKDIR /home/web2py/web2py
22
23EXPOSE 8000
24
25CMD python /home/web2py/web2py/anyserver.py -s waitress -i 0.0.0.0 -p 8000
Note: See TracBrowser for help on using the repository browser.