Added comments to describe the purpose of each section, combined the RUN commands to create the ~/.streamlit directory and set up credentials.toml in a single step. Needs USER added from docker hub.
Added a second copy for webui_streamlit.yaml and rename it to userconfig_streamlit.yaml. This makes it available for the docker without causing issues for non dockerized instances.
Moved entrypoint.sh copy to be the first command in the copy chain.
Added a copy command for "optimizedSD" folder, as the docker could not run in optimized mode without the files.
# Description
AMD support can be built by prefixing your compose commands with
`docker compose -f docker-compose.yml -f docker-compose.amd.yml ...`
or, by setting
```
export COMPOSE_FILE=docker-compose.yml:docker-compose.amd.yml
```
in your `.profile` or through a tool like `direnv`
Closes: Discord #installation-packing:AMD, at least for Linux hosts
# Checklist:
- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
# Description
Docker package sync
Closes: N/A
# Checklist:
- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
# Description
This will allow the image to be used outside of the repo (such as in a
service like runpod, or by a novice user who doesn't want to pull the
git repo and instead use `docker run ...`) once we start pushing the
images to Docker Hub.
Closes: Nothing, yet. This is a step in the direction of
`#installation-packing:Docker` in Discord.
# Checklist:
- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
1. The update to Streamlit 1.13 has bee mirrored
2. Streamlit needs to be in Headless mode so it doesn't pester about
wanting an email on startup, which crashes in docker since there's no
stdin
3. Fixed an issue where opencv-python from the base image was not
allowing us to override it with opencv-python-headless, which is
required because of its lack of runtime DLLs (+ it's smaller)