Skip to content

Commit

Permalink
fixed tippecanoe command bug (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi authored Mar 17, 2024
1 parent e75f4d0 commit 2d1c2f7
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 440 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ RUN make

FROM node:20-slim

ARG db_user
ARG db_password
ARG db_host
ARG db_port
ARG db_name

RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get -y install \
Expand All @@ -27,6 +33,7 @@ WORKDIR /tmp/src

# Install postgis2mbtiles-docker
COPY . /tmp/src
RUN npm install -g npm@latest
RUN npm install

RUN chmod a+x /tmp/src/entrypoint.sh
Expand Down
6 changes: 0 additions & 6 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
#!/bin/bash

cd /tmp/src
echo "db_user=${db_user}" > .env
echo "db_password=${db_password}" > .env
echo "db_host=${db_host}" > .env
echo "db_port=${db_port}" > .env
echo "db_name=${db_name}" > .env
npm run create
npm run extract
Loading

0 comments on commit 2d1c2f7

Please sign in to comment.