5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00
commitlint-github-action/Dockerfile
dependabot[bot] 875c1da1bf
chore(deps): bump node from 16.14.2-alpine3.14 to 18.3.0-alpine3.14
Bumps node from 16.14.2-alpine3.14 to 18.3.0-alpine3.14.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-06 14:54:09 +00:00

23 lines
343 B
Docker

FROM node:18.3.0-alpine3.14 as build
COPY package*.json /
RUN npm ci --ignore-scripts
COPY . .
RUN npm run build
FROM node:18.3.0-alpine3.14
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"]