Skip to content

Commit 1aa5065

Browse files
committed
fixes
1 parent 6da0b92 commit 1aa5065

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cli/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
2222
FROM base AS dist
2323
ENV 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
2525
COPY --from=builder --chown=node ["/app/cli/dist/", "/app/cli/"]
2626
COPY --from=builder --chown=node ["/tmp/pmtiles", "/usr/local/bin/pmtiles"]
2727
WORKDIR /app

cli/run.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)