~dricottone/container-images

ref: 86834e13c4e225b499700ba57267b6d8caa418ac container-images/moin/Dockerfile -rw-r--r-- 589 bytes
86834e13Dominic Ricottone MoinMoin 1.9 running in PyPy a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM registry.intra.dominic-ricottone.com/uwsgi:latest

USER root

COPY dist/moin-1.9.11 /var/moin
RUN cd /var/moin && pypy setup.py install

RUN cp -r /usr/lib/pypy/share/moin/server /var/www/
RUN cp -r /usr/lib/pypy/share/moin/underlay /var/www/
#Eventually... COPY rhtml/* /var/www/data/plugin/parser/
COPY moin.wsgi /var/www/
COPY uwsgi.ini /var/www/
COPY wikiconfig.py /var/www/

RUN chown 100:101 /var/www/uwsgi.ini
RUN chown 100:101 /var/www/moin.wsgi
RUN chown 100:101 /var/www/wikiconfig.py
RUN chown -R 100:101 /var/www/server
RUN chown -R 100:101 /var/www/underlay

USER uwsgi