🚀 fix action
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -4,7 +4,16 @@ RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends gifsicle graphicsmagick \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY packages/action/dist/* ./github-contribution-grid-snake
|
||||
COPY tsconfig.json package.json yarn.lock /github/snk/
|
||||
COPY packages /github/snk/packages
|
||||
|
||||
CMD ["node", "github-contribution-grid-snake/index.js"]
|
||||
RUN ( \
|
||||
cd /github/snk \
|
||||
&& find . \
|
||||
&& yarn install --frozen-lockfile \
|
||||
&& yarn build:action \
|
||||
&& mv packages/action/dist/* . \
|
||||
&& rm -rf packages tsconfig.json package.json yarn.lock node_modules \
|
||||
)
|
||||
|
||||
CMD ["node", "/github/snk/index.js"]
|
||||
|
||||
Reference in New Issue
Block a user