Skip to content

Commit

Permalink
included note on environmental variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago Olivar committed Feb 16, 2024
1 parent 4538c12 commit 86f8172
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _posts/2024-02-12-Simple-Dockerfile-for-Dev-Purposes.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,7 @@ Using a volume to provide sensitive information, such as an SSH key, during runt

- **Dynamic Configuration:** With a volume, sensitive information can be changed without rebuilding the Docker image. This flexibility is valuable when updating credentials or keys without redeploying the entire application.

## Environmental Variables
Setting up environmental variables correctly is important for both the security and functionality of your images. Make sure you create them either in the command line while starting container with `docker run -e [ENV_VAR_NAME]=[VALUE]`, or inside the container by executing `export [ENV_VAR_NAME]=[VALUE]`.

In the ever-evolving landscape of machine learning, ensuring a secure and adaptable Docker environment is crucial for the success of your projects.

0 comments on commit 86f8172

Please sign in to comment.