Skip to content

Conversation

@nanomad
Copy link
Contributor

@nanomad nanomad commented Jun 17, 2025

Fixes #345

Credits to bj00rn for the original idea

nanomad added 2 commits June 17, 2025 22:59
Fixes running the docker-compose on windows as well as we cannot bind mount files
@nanomad
Copy link
Contributor Author

nanomad commented Jun 17, 2025

@bj00rn By switching user at the last possible time we avoid the risk of malicious code tampering with the python code of the container

The resulting image is also smaller since we don't have to run chown/chmod

@nanomad nanomad merged commit 64d4957 into SAIC-iSmart-API:develop Jun 17, 2025
2 checks passed
@nanomad nanomad deleted the featue/run-as-nonroot branch June 17, 2025 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant