maputnik/Dockerfile

22 lines
329 B
Docker
Raw Normal View History

2019-02-27 13:50:27 +01:00
FROM node:10-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
python \
&& rm -rf /var/lib/apt/lists/*
EXPOSE 8888
ENV HOME /maputnik
RUN mkdir ${HOME}
COPY . ${HOME}/
WORKDIR ${HOME}
2019-02-10 07:58:37 +01:00
RUN npm install -d
RUN npm run build
2018-11-14 07:48:08 +01:00
WORKDIR ${HOME}/build/build
CMD python -m SimpleHTTPServer 8888