5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 16:06:56 +00:00
commitlint-github-action/Dockerfile
tradeshift-renovate[bot] 8917189503
chore(deps): update node.js to v16.15.1 (#405)
Co-authored-by: tradeshift-renovate[bot] <121954292+tradeshift-renovate[bot]@users.noreply.github.com>
2024-02-13 04:03:40 +00:00

23 lines
344 B
Docker

FROM node:16.15.1-alpine3.14 as build
COPY package*.json /
RUN npm ci --ignore-scripts
COPY . .
RUN npm run build
FROM node:20.9.0-alpine3.17
RUN apk --no-cache add git
COPY --from=build dist/run.js /run.js
COPY package*.json /
RUN npm ci --production --ignore-scripts
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]