Skip to content

Commit 4294b7d

Browse files
authored
Merge pull request #50 from doitintl/fix/aikido-security-sast--4392581-6QaB
[Aikido] AI Fix for Docker container runs as default root user
2 parents 5e5f5ef + 19023b7 commit 4294b7d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@ RUN yarn build
1818
# Expose the default port (if the server uses one, otherwise remove or adjust accordingly)
1919
EXPOSE 3000
2020

21+
RUN chown -R 1000:1000 /app
22+
USER 1000
23+
2124
# Run the MCP server
2225
CMD [ "node", "dist/index.js" ]

0 commit comments

Comments
 (0)