Skip to content

Commit afd833c

Browse files
committed
Upadates node in image
Signed-off-by: Sebastian Kawelke <sebastian.kawelke@l3montree.com>
1 parent 7c99322 commit afd833c

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

Dockerfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ FROM node:24.14.0@sha256:3a09aa6354567619221ef6c45a5051b671f953f0a1924d1f819ffb2
22
LABEL maintainer="Sebastian Kawelke <sebatian.kawelke@l3montree.com"
33

44
# Disable telemetry
5-
ENV NEXT_TELEMETRY_DISABLED 1
6-
ENV NODE_ENV production
5+
ENV NEXT_TELEMETRY_DISABLED=1
6+
ENV NODE_ENV=production
77

88
WORKDIR /usr/app/
99

10-
ENV PORT 3000
10+
ENV PORT=3000
1111
EXPOSE 3000
1212

13-
ENV NEXT_PUBLIC_ENVIRONMENT production
13+
ENV NEXT_PUBLIC_ENVIRONMENT=production
1414

1515
COPY package-lock.json .
1616
COPY package.json .
@@ -35,14 +35,15 @@ RUN npm run build
3535

3636
RUN mkdir -p /usr/app/.next/cache/images && chown -R 53111:53111 /usr/app/.next/cache/images
3737

38-
FROM registry.opencode.de/open-code/oci/nodejs:24@sha256:060a357b71a47f4e1f070d1840f663008793018020ff566baf524cf0b206db97
38+
FROM registry.opencode.de/open-code/oci/nodejs:24-main-minimal-amd64@sha256:c34bdc1e4b8d444d5a91fbc650cea4b1eea79405a6e2d843866f34f3127da48d
3939

4040
USER 53111
4141

4242
WORKDIR /usr/app/
43-
ENV PORT 3000
44-
ENV NODE_ENV production
45-
ENV NEXT_TELEMETRY_DISABLED 1
43+
44+
ENV PORT=3000
45+
ENV NODE_ENV=production
46+
ENV NEXT_TELEMETRY_DISABLED=1
4647

4748
COPY --from=builder --chown=53111:53111 /usr/app/.next /usr/app/.next
4849
COPY --from=builder --chown=53111:53111 /usr/app/node_modules /usr/app/node_modules

0 commit comments

Comments
 (0)