| 1234567891011121314151617181920212223242526272829303132 |
- FROM ubuntu:18.04
- MAINTAINER juca <juca@juan-carlos.info>
- ENV APP_NAME="tilemill"
- RUN export DEBIAN_FRONTEND=noninteractive \
- && apt-get update -y \
- && apt-get install -y --no-install-recommends apt-utils \
- && apt-get install -y locales && locale-gen en_US.UTF-8 \
- && apt-get install -y curl \
- && curl -sL https://deb.nodesource.com/setup_8.x | bash - \
- && apt-get update -y \
- && apt-get install -y nodejs git \
- && mkdir /opt/tilemill /root/Documents \
- && cd /opt/tilemill \
- && git clone https://github.com/tilemill-project/tilemill.git \
- && cd tilemill \
- && npm install \
- && npm cache clean --force \
- && apt-get clean \
- && apt-get update
- COPY run_tilemill.sh /opt/tilemill/run_tilemill.sh
- EXPOSE 20008
- EXPOSE 20009
- VOLUME /root/Documents
- WORKDIR /opt/tilemill
- CMD [ "/bin/bash", "/opt/tilemill/run_tilemill.sh" ]
|