Skip to content
Merged
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# The image is built with official Node 22 on Debian Bookworm (LTS Jod) image and uses the Distroless base image for security and minimalism.

# Stage 1: Build Environment
FROM node:jod-trixie@sha256:abd317c0935f185cfdb4767699e86ee916acee8b90435ac6d70e6d881a44375c AS build-env
FROM node:jod-trixie@sha256:5efa41be8f7ce8cb57e14cb612c8591105ec1c0afb9a33e608fc597d1a3ff44c 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.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# The image is built with official Node 22 on Debian Trixie (LTS Jod) and uses the Distroless base image for security and minimalism.

# Stage 1: Build Environment
FROM node:jod-trixie@sha256:abd317c0935f185cfdb4767699e86ee916acee8b90435ac6d70e6d881a44375c AS build-env
FROM node:jod-trixie@sha256:5efa41be8f7ce8cb57e14cb612c8591105ec1c0afb9a33e608fc597d1a3ff44c AS build-env
USER root
# Installs dependencies for sqlite3 node dependencies
RUN apt update && \
Expand Down