Skip to content

Commit d0e45c7

Browse files
authored
feat(cli): bundle cogify command into docker container (#2792)
* feat(cli): bundle cogify command into docker container * refactor: missing copy statement * refactor: correct copy statements * refactor: do not move dist as it breaks npx
1 parent 637df77 commit d0e45c7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/cli/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ RUN npm install sharp@0.30.7
1515

1616
# Install the landing assets
1717
COPY ./basemaps-landing*.tgz /app/
18-
RUN npm install ./basemaps-landing*.tgz
18+
COPY ./basemaps-cogify*.tgz /app/
19+
20+
RUN npm install ./basemaps-landing*.tgz ./basemaps-cogify*.tgz
1921

2022
COPY dist/index.cjs /app/
2123

22-
ENTRYPOINT [ "node", "./index.cjs" ]
24+
ENTRYPOINT [ "node", "./index.cjs" ]

0 commit comments

Comments
 (0)