Skip to content

Commit

Permalink
aaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
Platane committed Jul 20, 2020
1 parent 1a73179 commit cb4016e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

COPY tsconfig.json package.json yarn.lock /github/platane.aa/
COPY packages /github/platane.aa/
COPY packages /github/platane.aa/packages

RUN ( cd /github/platane.aa/ ; yarn install --frozen-lockfile )
RUN ( \
cd /github/platane.aa \
&& find . \
&& yarn install --frozen-lockfile \
&& yarn build:action \
&& mv packages/action/dist/* . \
&& rm -rf packages tsconfig.json package.json yarn.lock node_modules \
)

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

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

0 comments on commit cb4016e

Please sign in to comment.