Spaces:
Running
on
T4
Running
on
T4
Fedir Zadniprovskyi
commited on
Commit
•
af21424
1
Parent(s):
181dbbf
fix: docker multi-arch builds
Browse files- Taskfile.yaml +2 -1
- compose.yaml +1 -0
Taskfile.yaml
CHANGED
@@ -12,9 +12,10 @@ tasks:
|
|
12 |
sources:
|
13 |
- Dockerfile.*
|
14 |
- speaches/*.py
|
|
|
15 |
build-and-push:
|
16 |
cmds:
|
17 |
-
- docker
|
18 |
sources:
|
19 |
- Dockerfile.*
|
20 |
- speaches/*.py
|
|
|
12 |
sources:
|
13 |
- Dockerfile.*
|
14 |
- speaches/*.py
|
15 |
+
create-multi-arch-builder: docker buildx create --name main --driver=docker-container
|
16 |
build-and-push:
|
17 |
cmds:
|
18 |
+
- docker compose build --builder main
|
19 |
sources:
|
20 |
- Dockerfile.*
|
21 |
- speaches/*.py
|
compose.yaml
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
services:
|
2 |
speaches-cuda:
|
3 |
image: fedirz/speaches:cuda
|
|
|
1 |
+
# NOTE: arm images haven't been tested
|
2 |
services:
|
3 |
speaches-cuda:
|
4 |
image: fedirz/speaches:cuda
|