Skip to content

Commit

Permalink
Merge pull request #376 from projectsyn/fix/custom-user
Browse files Browse the repository at this point in the history
Create home directory for custom user
  • Loading branch information
simu authored Jan 20, 2025
2 parents 996b9f6 + 713f76f commit 146f09e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ FROM base AS final
ENV NODE_ENV=production

# Setup real user for UID 1000 so ssh Git clones work
RUN useradd --no-create-home --no-user-group --gid 0 --uid 1000 renovate
RUN useradd --create-home --no-user-group --gid 0 --uid 1000 renovate

COPY --from=tsbuild /usr/src/app/bin bin
COPY --from=tsbuild /usr/src/app/node_modules node_modules
Expand Down

0 comments on commit 146f09e

Please sign in to comment.