Skip to content

Commit cb4016e

Browse files
committed
aaaa
1 parent 1a73179 commit cb4016e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Dockerfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@ RUN apt-get update \
55
&& rm -rf /var/lib/apt/lists/*
66

77
COPY tsconfig.json package.json yarn.lock /github/platane.aa/
8-
COPY packages /github/platane.aa/
8+
COPY packages /github/platane.aa/packages
99

10-
RUN ( cd /github/platane.aa/ ; yarn install --frozen-lockfile )
10+
RUN ( \
11+
cd /github/platane.aa \
12+
&& find . \
13+
&& yarn install --frozen-lockfile \
14+
&& yarn build:action \
15+
&& mv packages/action/dist/* . \
16+
&& rm -rf packages tsconfig.json package.json yarn.lock node_modules \
17+
)
1118

12-
RUN ( cd /github/platane.aa/ ; yarn build:action )
19+
CMD ["find", "/github/platane.aa"]
1320

14-
CMD ["find", "/github"]
1521
# CMD ["node", "./generate-snake-game-from-github-contribution-grid/packages/action/dist/index.js"]
1622

0 commit comments

Comments
 (0)