mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 16:06:56 +00:00
Bumps node from 20.9.0-alpine3.17 to 21.4.0-alpine3.17. --- updated-dependencies: - dependency-name: node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
23 lines
345 B
Docker
23 lines
345 B
Docker
FROM node:21.4.0-alpine3.17 as build
|
|
|
|
COPY package*.json /
|
|
|
|
RUN npm ci --ignore-scripts
|
|
|
|
COPY . .
|
|
|
|
RUN npm run build
|
|
|
|
FROM node:21.4.0-alpine3.17
|
|
|
|
RUN apk --no-cache add git
|
|
|
|
COPY --from=build dist/run.mjs /run.mjs
|
|
|
|
COPY package*.json /
|
|
|
|
RUN npm ci --production --ignore-scripts
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|