mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 12:27:45 +01:00
21 lines
329 B
Docker
21 lines
329 B
Docker
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}
|
|
|
|
RUN npm install -d
|
|
RUN npm run build
|
|
|
|
WORKDIR ${HOME}/build/build
|
|
CMD python -m SimpleHTTPServer 8888
|