From b3fbdfc62ff26d46a5782710c5e33a980995c8e4 Mon Sep 17 00:00:00 2001 From: A Nomad Date: Fri, 30 Jan 2026 16:14:37 +0100 Subject: [PATCH] Hotfix for Dockerfile. Fix issue with folder permission --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b12841ce..a9d2664d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,9 +17,6 @@ COPY website/ ./ FROM node:23-alpine -# Set working directory -WORKDIR /app - # Create a non-root user and group RUN addgroup -S appgroup && adduser -S appuser -G appgroup @@ -32,6 +29,9 @@ COPY --chown=appuser:appgroup --from=build /app /app # Switch to non-root user USER appuser +# Set working directory +WORKDIR /app + # Expose the port the app runs on EXPOSE 3000