Files
LC_NeoRefacer/docker/run.sh

7 lines
284 B
Bash
Raw Normal View History

2023-06-16 09:14:14 -04:00
#!/bin/bash
# Run this script from within the refacer/docker folder.
docker build -t refacer -f Dockerfile.nvidia . && \
docker run --rm -p 7860:7860 --gpus all refacer python3 app.py --server_name 0.0.0.0 && \
sleep 1 && google-chrome --new-window "http://127.0.0.1:7860" &