FROM ubuntu:18.04 MAINTAINER juca 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" ]