Robin Thoni 2815dc6356 init | 8 years ago | |
---|---|---|
README.md | 8 years ago |
projectName=myproject
apiLocation="/var/${projectName}"
httpPort=8080
wsPort=8180
imageName="${projectName}"-luticate2-image
containerName="${projectName}"-luticate2-container
cd docker
docker build -t "${tag}"
docker run -d -v "${apiLocation}":/var/www -p ${httpPort}:80 -p ${wsPort}:81 --name="${containerName}" "${imageName}"