From cb4016eda84cd23785f02e1ec7ac281f59ed9deb Mon Sep 17 00:00:00 2001 From: platane Date: Mon, 20 Jul 2020 09:23:12 +0200 Subject: [PATCH] aaaa --- Dockerfile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f02006f..ee608df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]