Skip to content
Closed
Show file tree
Hide file tree
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 backend.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:24.18-alpine as builder
FROM node:24.16-alpine as builder

Check warning on line 1 in backend.dockerfile

View workflow job for this annotation

GitHub Actions / Build (backend)

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/

# Set the current working directory inside the container
WORKDIR /app/backend
Expand All @@ -13,7 +13,7 @@

RUN npm run build

FROM node:24.18-alpine as runner
FROM node:24.16-alpine as runner

Check warning on line 16 in backend.dockerfile

View workflow job for this annotation

GitHub Actions / Build (backend)

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/
WORKDIR /app

COPY backend/package.json backend/package-lock.json ./
Expand All @@ -23,6 +23,6 @@

EXPOSE 3000

ENV NODE_ENV production

Check warning on line 26 in backend.dockerfile

View workflow job for this annotation

GitHub Actions / Build (backend)

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/

CMD ["node", "backend/src/index.js"]
Loading
Loading