Add Dockerfile, docker-compose.yml, and Docker usage instructions

This commit is contained in:
coder3101
2026-07-15 00:49:48 +05:30
parent b4a77bbd2c
commit 44cf3839cd
3 changed files with 116 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
services:
j-wash:
build: .
image: j-wash
container_name: j-wash
restart: unless-stopped
ports:
- "8381:8381"
volumes:
- ./data:/app/data
- ./hf_cache:/app/hf_cache
- ./lenses:/app/lenses
environment:
- HF_HOME=/app/hf_cache
- JWASH_DATA_DIR=/app/data
- HF_TOKEN=${HF_TOKEN:-}
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]