diff --git a/Dockerfile b/Dockerfile index 592bebb..92c9474 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # The image is built with official Node 20 on Debian Bookworm (LTS Iron) image and uses the Distroless base image for security and minimalism. # Stage 1: Build Environment -FROM node:iron-bookworm@sha256:f4755c9039bdeec5c736b2e0dd5b47700d6393b65688b9e9f807ec12f54a8690 AS build-env +FROM node:iron-bookworm@sha256:bf707e45573c7e09e3070c5df5bbb07fa0916f7baa2804e6685fa1d48f33b3a6 AS build-env USER root # Create a new user and group named "nonroot" with the UID 65532 and GID 65532, not a member of the root, sudo, and sys groups, and set the home directory to /home/nonroot. # This user is used to run the Ghost application in the container for security reasons.