Skip to content

Commit fec813e

Browse files
committed
chore: Install before copying
1 parent c4ba98d commit fec813e

File tree

3 files changed

+4
-14
lines changed

3 files changed

+4
-14
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
!pnpm-lock.yaml
44
!bin/
55
!dist/
6-
!install-dependencies.sh

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,11 @@ RUN apt-get update && apt-get install curl gnupg -y \
2222
&& fc-cache -f \
2323
&& rm -rf /var/lib/apt/lists/*
2424

25-
WORKDIR /usr/src/app
26-
COPY . .
27-
2825
# NOTE: We need to install Mermaid globally, as we are not installing the package.json dependencies due to private packages
2926
RUN npm i -g [email protected] @mermaid-js/[email protected]
3027

28+
WORKDIR /usr/src/app
29+
30+
COPY . .
31+
3132
ENTRYPOINT [ "node", "/usr/src/app/bin/markdown-confluence-sync-action.js"]

install-dependencies.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)