Sam
a4f9bfc8f7
Update Dockerfile
2023-12-19 18:38:36 -05:00
Sam
9afdd0f4a8
Update Dockerfile
2023-12-19 18:38:36 -05:00
Sam McLeod
bee6ad1547
fix(pnpm): replace npm with pnpm in dockerfile
2023-12-19 18:38:36 -05:00
Wilson E. Alvarez
296060db63
Add cpu and rocm profiles. Let invokeai-nvidia service be the default.
2023-12-13 23:23:43 -05:00
Wilson E. Alvarez
d1d8ee71fc
Simplify docker compose setup
2023-12-13 23:23:43 -05:00
Sam
11f4a48144
Add container GID
2023-12-11 14:30:40 -05:00
Sam
67ed4a0245
Respect CONTAINER_UID in Dockerfile chown
...
CONTAINER_UID is used for the user ID within the container, however I noticed the UID was hard coded to 1000 in the Dockerfile chown -R command.
This leaves the default as 1000, but allows it to be overrriden by setting CONTAINER_UID.
2023-12-11 14:30:40 -05:00
Wilson E. Alvarez
76b3f8956b
Fix ROCm support in Docker container
2023-11-06 13:47:08 -08:00
Eugene Brodsky
575c7bbfd8
feat(docker): update docker documentation
2023-10-19 11:26:36 -04:00
Eugene Brodsky
f102e38076
feat(docker): update docker image, etc. to python3.11+ubuntu23.04
2023-10-19 11:26:16 -04:00
Mitchell Allain
0b2925709c
Use double quotes in docker entrypoint to prevent word splitting
2023-08-13 14:36:55 -05:00
Eugene Brodsky
0b0efa82e9
(docker) ROCm support fixes - contributed by @Rubonnek
2023-07-12 16:51:15 -04:00
Eugene Brodsky
d6da7ad922
(docker) dockerfile fixes including PR feedback
...
When previously using base Debian-ish images, the Invoke image
failed to find CUDA drivers on some RHEL-ish distributions
2023-07-12 16:51:15 -04:00
Brandon Rising
c910376bb6
Don't use .env file lines where = is at the end of the line
2023-07-12 16:51:15 -04:00
Brandon Rising
a674fff17a
Update dockerignore, set venv to 3.10, pass cache to yarn vite buidl
2023-07-12 16:51:15 -04:00
Brandon Rising
674f42ba9a
Pass env vars as build-args, ensure node modules isn't getting passed in
2023-07-12 16:51:15 -04:00
Eugene Brodsky
3b1eeda4d4
(docker) only install default models when running the container against a new runtime directory
2023-07-12 16:51:15 -04:00
Eugene Brodsky
72a11ec4bc
(docker) use docker-compose in deprecated build scripts
...
temporarily retaining the build scripts for backwards compatibility
2023-07-12 16:51:15 -04:00
Eugene Brodsky
e9bc8254dd
(docker) add a README for the docker setup
2023-07-12 16:51:15 -04:00
Eugene Brodsky
2a5737c146
(docker) add README used by the Runpod template
2023-07-12 16:51:15 -04:00
Eugene Brodsky
f3b45d0ad9
(docker) rewrite container implementation with docker-compose support
...
- rewrite Dockerfile
- add a stage to build the UI
- add docker-compose.yml
- add docker-entrypoint.sh such that any command may be used at runtime
- docker-compose adds .env support - add a sample .env file
2023-07-12 16:51:15 -04:00
mauwii
2d9fac23e7
fix Dockerfile
...
- update broken paths after restructure
2023-03-04 23:51:07 +01:00
mauwii
92304b9f8a
remove pip-tools, still split requirements install
...
- also use user:group for definitions
- add `--platform=${TARGETPLATFORM}` to base
2023-02-26 00:53:43 +01:00
mauwii
ec1de5ae8b
more detailed volume parameters
2023-02-26 00:51:30 +01:00
mauwii
49198a61ef
enable BuildKit in env.sh
2023-02-26 00:50:13 +01:00
mauwii
90cda11868
separate installation of requirements and source
...
this should highly increase rebuilding of the image when:
- version did not change
- requirements didn't change
2023-02-24 03:51:18 +01:00
fattire
b08a514594
missed one.
2023-02-14 17:49:01 -08:00
fattire
7aa6c827f7
fix minor typos
2023-02-14 17:38:21 -08:00
mauwii
7be5b4ca8b
update Dockerfile
...
- introduce build arg `VOLUME_DIR`
- fix permissions of the Volume
2023-02-10 22:55:19 +01:00
mauwii
8bd04654c7
remove Trash folder if existing
2023-02-09 04:00:51 +01:00
mauwii
106c7aa956
bindmount outputs directory to ./docker/outputs
2023-02-09 02:48:12 +01:00
mauwii
2ea551d37d
create user home, expose port
2023-02-09 00:56:09 +01:00
mauwii
05d51d7b5b
re-use --link
, lock pip cache
2023-02-08 23:45:15 +01:00
mauwii
09f69a4d28
Add output when activating venv
2023-02-08 23:39:28 +01:00
mauwii
a338af17c8
Initialize PIP_CACHE_DIR after setting the env
2023-02-08 23:17:15 +01:00
mauwii
888d3ae968
cleanup Dockerfile
2023-02-08 21:54:06 +01:00
mauwii
a28120abdd
small improvements to env.sh
2023-02-08 21:53:57 +01:00
mauwii
4493d83aea
update docker-scripts instructions
2023-02-08 21:35:19 +01:00
mauwii
5bb0f9bedc
update Dockerfile - more simple user creation
2023-02-08 19:57:41 +01:00
mauwii
3833b28132
Create a new user for the container runtime
...
without root permission
2023-02-07 23:46:43 +01:00
mauwii
c2e11dfe83
update build-container.yml
...
- add long sha tag
- update cache-from
Dockerfile:
- re-use `apt-get update`
env.sh/build.sh:
- rename platform to lowercase
2023-02-07 09:27:20 +01:00
mauwii
17e1930229
remove CONTAINER_FLAVOR build arg
...
also disable currently unused PIP_PACKAGE build arg
will start using it when problems with XFORMERS are sorted out
2023-02-07 09:27:20 +01:00
mauwii
bde94347d3
don't use --link
in COPY
2023-02-07 09:27:20 +01:00
mauwii
9150f9ef3c
move LABEL to top
2023-02-07 09:27:20 +01:00
mauwii
f0212cd361
update Dockerfile
2023-02-07 09:27:20 +01:00
mauwii
07a9062e1f
update .dockerignore and scripts
2023-02-07 09:27:20 +01:00
mauwii
cdb3e18b80
add flavor to pip cache id
...
to prevent cache invalidation
2023-02-07 09:27:20 +01:00
mauwii
0402766f4d
add author label
2023-02-06 14:05:27 +01:00
mauwii
1c197c602f
update Dockerfile, .dockerignore and workflow
...
- dont build frontend since complications with QEMU
- set pip cache dir
- add pip cache to all pip related build steps
- dont lock pip cache
- update dockerignore to exclude uneeded files
2023-02-05 20:20:50 +01:00
mauwii
90656aa7bf
update Dockerfile
...
- add build arg `FRONTEND_DIR`
2023-02-05 20:20:50 +01:00