Skip to content

Commit

Permalink
secrets.toml needs to be in cwd
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymedina authored Aug 14, 2024
1 parent 6c1cb23 commit 9da0fdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions streamlit_template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ For further instructions on how to deploy your Docker image to the GitHub Contai
git clone https://github.com/<your-username>/snowflake.git
```
Replace `<your-username>` with the user that the forked repository is under.
- Create your `secrets.toml` file again, and make sure it's located under the `.streamlit/` folder. By default, the instance should already have `vi` available to use as an editor.
- Create your `secrets.toml` file again. By default, the instance should already have `vi` available to use as an editor.
- Build your Docker image, either from the `Dockerfile` in the repository, or by pulling down your image from the GitHub Container Registry.
- Run your Docker container from the image, and make sure to have your `secrets.toml` mounted and the 8501 port specified, like so:
- Run your Docker container from the image, and make sure to have your `secrets.toml` (in the current working directory) mounted and the 8501 port specified, like so:
```
docker run \
-p 8501:8501 \
Expand Down

0 comments on commit 9da0fdd

Please sign in to comment.