printnatura/dockerCommands.sh

8 lines
191 B
Bash

#Build
docker build -t printserver .
#Exec
docker run -it --rm -v $PWD/config.local.yml:/pdf-print-server/config.local.yml:ro -p 80:631 printserver
#Bash
docker exec -i -t printserver bash