Skip to content

Commit

Permalink
fix: modifying docker script for generating template (asyncapi#3213)
Browse files Browse the repository at this point in the history
Co-authored-by: Akshat Nema <[email protected]>%0ACo-authored-by: asyncapi-bot <[email protected]>
  • Loading branch information
DhairyaMajmudar and asyncapi-bot authored Sep 28, 2024
1 parent 44e57e7 commit 3f6ed81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/GeneratorInstallation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ asyncapi generate fromTemplate ${specPath} ${template} ${params}`;
* @returns {string} The Docker command.
*/
function getDockerCode(): string {
return `docker run --rm -it -v \${PWD}/example:/app/example -v \${PWD}/output:/app/output \\
return `docker run --rm -it --user=root -v \${PWD}/example:/app/example -v \${PWD}/output:/app/output \\
asyncapi/cli generate fromTemplate ${specPath} ${template} ${params}`;
}

Expand Down

0 comments on commit 3f6ed81

Please sign in to comment.