Skip to content
Open
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
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ RUN npm prune --omit=dev && npm cache clean --force
# Create logs directory
RUN mkdir -p /app/logs && chown -R syncro:syncro /app

# Security: patch OS packages and drop the npm CLI, which the runtime does not use
RUN apk upgrade --no-cache && \
rm -rf /usr/local/lib/node_modules/npm /usr/local/bin/npm /usr/local/bin/npx

# Switch to non-root user
USER syncro

Expand Down
156 changes: 96 additions & 60 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading