Skip to content

Commit bc6405a

Browse files
committed
aaaa
1 parent fc4e8d4 commit bc6405a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ RUN apt-get update \
44
&& apt-get install -y --no-install-recommends gifsicle graphicsmagick \
55
&& rm -rf /var/lib/apt/lists/*
66

7-
COPY packages/action/dist/* ./generate-snake-game-from-github-contribution-grid/
7+
COPY tsconfig.json package.json yarn.lock ./generate-snake-game-from-github-contribution-grid/
8+
COPY packages ./generate-snake-game-from-github-contribution-grid/packages/
89

9-
CMD ["node", "generate-snake-game-from-github-contribution-grid/index.js"]
10+
RUN ( cd ./generate-snake-game-from-github-contribution-grid ; yarn install --frozen-lockfile )
11+
12+
RUN ( cd ./generate-snake-game-from-github-contribution-grid ; yarn build:action )
13+
14+
CMD ["node", "generate-snake-game-from-github-contribution-grid/packages/action/dist/index.js"]
1015

0 commit comments

Comments
 (0)