Skip to content

Commit

Permalink
build: docker now writes codegen files as current user instead of root
Browse files Browse the repository at this point in the history
  • Loading branch information
ctran88 committed Nov 19, 2024
1 parent 28a3bbd commit 789243e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ file="$1"

rm -rf ./src/generated

docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli:latest generate \
docker run --rm -v "${PWD}:/local" -u $(id -u) openapitools/openapi-generator-cli:latest generate \
-i "/local/$file" \
-g typescript-fetch \
-o /local/src/generated \
Expand Down

0 comments on commit 789243e

Please sign in to comment.