~dricottone/docker-moinmoin19

ref: f1c6d780adefc9dac5fa7747ef8a291bff2241ca docker-moinmoin19/Dockerfile -rw-r--r-- 523 bytes
f1c6d780Dominic Ricottone initial commit with unvendored files 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Alpine Linux removed uwsgi-python in v3.11
FROM alpine:3.10

RUN apk add python uwsgi uwsgi-python

COPY build/moin-1.9.11/setup.py /var/moin/install
COPY build/moin-1.9.11/wiki /var/moin/wiki
COPY moinmoin/* /var/moin/wiki/

RUN find /var/moin -type d -exec chmod 775 {} \; \
	&& find /var/moin -type f -exec chmod 664 {} \; \
	&& chown www-data:www-data /var/moin -R
RUN cd /var/moin/install && python setup.py install --record=install.log

EXPOSE 9000
WORKDIR /var/moin
CMD /usr/sbin/uwsgi --ini /var/moin/uwsgi.ini