File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ RUN wget -O- https://github.com/protomaps/go-pmtiles/releases/download/v1.28.0/g
2121# [2] From the base again, install production dependencies and copy compiled code
2222FROM base AS dist
2323ENV NODE_ENV=production
24- RUN npm ci -w cli && npm cache clean --force
24+ RUN npm ci -w cli && npm cache clean --force && mkdir /app/tiles
2525COPY --from=builder --chown=node ["/app/cli/dist/" , "/app/cli/" ]
2626COPY --from=builder --chown=node ["/tmp/pmtiles" , "/usr/local/bin/pmtiles" ]
2727WORKDIR /app
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export async function runTool(options: RunOptions) {
5454 for ( const [ index , target ] of appConfig . targets . entries ( ) ) {
5555 console . log (
5656 "[%d/%d] target=%o boundary=%o" ,
57- index ,
57+ index + 1 ,
5858 appConfig . targets . length ,
5959 target . name ,
6060 target . bbox . join ( "," ) ,
@@ -144,7 +144,7 @@ export async function runTool(options: RunOptions) {
144144 ) ;
145145 }
146146
147- console . log ( "[%d/%d] done\n" , index , appConfig . targets . length ) ;
147+ console . log ( "[%d/%d] done\n" , index + 1 , appConfig . targets . length ) ;
148148 }
149149
150150 // generate global metadata
You can’t perform that action at this time.
0 commit comments