view Sphinx/buildWithDocker.ps1 @ 1133:9d77d6ded4ad

Added tag Orthanc-1.12.6 for changeset 286beb0fef4d
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 22 Jan 2025 13:56:11 +0100
parents 64d1ddab8246
children
line wrap: on
line source

# This has been tested with Docker for Windows CE version 2.0.0.2 (30215)
# on Windows 10 Pro x64 (10.0.17134) with stock Powershell (5.1)

docker build -t orthanc-book-builder .

$pwdSlash = $pwd.Path.Replace("\","/")
docker run --rm -v "$($pwdSlash):/app" orthanc-book-builder

docker rmi orthanc-book-builder  # since we rebuild it anyway, no need to keep it -> don't accumulate <none> images