Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

chore(deps): update node.js to v22 #1451

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/hazmi35/node:21-dev-alpine as build-stage
FROM ghcr.io/hazmi35/node:22-dev-alpine as build-stage

Check warning on line 1 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker / build

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

# Prepare pnpm with corepack (experimental feature)
RUN corepack enable && corepack prepare pnpm@latest
Expand All @@ -22,10 +22,10 @@
RUN pnpm prune --production

# Get ready for production
FROM ghcr.io/hazmi35/node:21-alpine
FROM ghcr.io/hazmi35/node:22-alpine

LABEL name "rawon"

Check warning on line 27 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker / build

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "LABEL key=value" should be used instead of legacy "LABEL key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/
LABEL maintainer "Stegripe Development <support@stegripe.org>"

Check warning on line 28 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker / build

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "LABEL key=value" should be used instead of legacy "LABEL key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

# Install ffmpeg
RUN apk add --no-cache ffmpeg python3 && ln -sf python3 /usr/bin/python
Expand All @@ -39,7 +39,7 @@
COPY --from=build-stage /tmp/build/index.js ./index.js

# Additional Environment Variables
ENV NODE_ENV production

Check warning on line 42 in Dockerfile

View workflow job for this annotation

GitHub Actions / docker / build

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

# Add scripts volumes
VOLUME /app/scripts
Expand Down
Loading