Spaces:
Build error
Build error
shapermindai
commited on
Commit
•
49b5588
1
Parent(s):
a3ffd31
Create dockerfile
Browse files- dockerfile +11 -0
dockerfile
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
ln -s docker/{cpu/Dockerfile,cpu/docker-compose.yml,.dockerignore} .
|
2 |
+
cp docker/.env.example .env
|
3 |
+
#Create logs/cache dir :
|
4 |
+
mkdir -p logs cache
|
5 |
+
# Edit .env and set:
|
6 |
+
# TORCH_CUDA_ARCH_LIST based on your GPU model
|
7 |
+
# APP_RUNTIME_GID your host user's group id (run `id -g` in a terminal)
|
8 |
+
# BUILD_EXTENIONS optionally add comma separated list of extensions to build
|
9 |
+
# Edit CMD_FLAGS.txt and add in it the options you want to execute (like --listen --cpu)
|
10 |
+
#
|
11 |
+
docker compose up --build
|