Update docker.mdx

This commit is contained in:
Maidul Islam
2023-03-20 12:52:28 -07:00
committed by GitHub
parent 66fae1fa0a
commit ed73ded05f

View File

@@ -39,10 +39,10 @@ Prerequisites:
Starting your service with the Infisical CLI pulls your secrets from Infisical and injects them into your service. Starting your service with the Infisical CLI pulls your secrets from Infisical and injects them into your service.
```dockerfile ```dockerfile
CMD ["infisical", "run", "---", "[your service start command]"] CMD ["infisical", "run", "--", "[your service start command]"]
# example with single single command # example with single single command
CMD ["infisical", "run", "---", "npm", "run", "start"] CMD ["infisical", "run", "--", "npm", "run", "start"]
# example with multiple commands # example with multiple commands
CMD ["infisical", "run", "--command", "npm run start && ..."] CMD ["infisical", "run", "--command", "npm run start && ..."]