Skip to content

Commit

Permalink
Merge pull request #241 from nextcloud/szaimen-patch-1
Browse files Browse the repository at this point in the history
feat(Dockerfile): do not pin alpine version
  • Loading branch information
juliusknorr authored Oct 28, 2024
2 parents 8d5f169 + 1af7196 commit 83ea9f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later

FROM node:22.9.0-alpine3.20 AS build
FROM node:22.9.0-alpine AS build
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
ARG NODE_ENV=production
COPY . /app
Expand All @@ -14,7 +14,7 @@ RUN apk upgrade --no-cache -a && \
clean-modules --yes && \
npm cache clean --force

FROM node:22.9.0-alpine3.20
FROM node:22.9.0-alpine
COPY --from=build --chown=nobody:nobody /app /app
WORKDIR /app
RUN apk upgrade --no-cache -a && \
Expand Down

0 comments on commit 83ea9f6

Please sign in to comment.