commit | author | age
|
d1e1f5
|
1 |
FROM debian |
JK |
2 |
|
|
3 |
RUN apt-get -y update \ |
|
4 |
&& apt-get -y dist-upgrade \ |
|
5 |
&& apt-get -y install mapproxy python-mapnik uwsgi \ |
|
6 |
fonts-noto ttf-unifont \ |
|
7 |
&& groupadd -r -g 500 mapproxy \ |
|
8 |
&& useradd -r -u 500 -g 500 mapproxy \ |
|
9 |
&& mkdir -p /home/mapproxy \ |
|
10 |
&& chown mapproxy:mapproxy /home/mapproxy |
|
11 |
RUN apt-get -y install uwsgi-plugin-python |
|
12 |
|
|
13 |
EXPOSE 8080 |
|
14 |
|
|
15 |
USER mapproxy |
|
16 |
WORKDIR /home/mapproxy |
|
17 |
|
|
18 |
COPY mapproxy.yaml wsgi.py start.sh ./ |
|
19 |
COPY mapnik.py /usr/lib/python2.7/dist-packages/mapproxy/source/mapnik.py |
|
20 |
|
|
21 |
CMD ./start.sh |