Skip to content

Commit

Permalink
Update the OS of the base image for security
Browse files Browse the repository at this point in the history
A number of unresolved vulnerabilities exist in the buster/oldoldstable
Debian release that's the base image of the previous tag.
  • Loading branch information
fedde-s committed Oct 18, 2023
1 parent b3bb5a8 commit ba2527d
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
@@ -1,4 +1,4 @@
FROM node:16 as build
FROM node:16-bookworm as build
# make sure app variable is set and valid
ARG app=""
RUN : "${app:?Missing --build-arg app}"
Expand All @@ -12,7 +12,7 @@ RUN yarn --network-timeout 100000
RUN yarn build:$app
RUN mv ./apps/$app/bundle-$app/ ./bundle/

FROM node:16
FROM node:16-bookworm
RUN npm install --location=global serve
COPY --from=build /tmp/app/bundle/ /var/www/app/
WORKDIR /var/www/app/
Expand Down

0 comments on commit ba2527d

Please sign in to comment.