Robin Thoni 8f9fe26653 fixed when no schedules (null) | 8 years ago | |
---|---|---|
app | 8 years ago | |
docker | 8 years ago | |
public | 8 years ago | |
storage | 8 years ago | |
.gitignore | 8 years ago | |
README.md | 8 years ago | |
composer.json | 8 years ago | |
composer.lock | 8 years ago | |
config.json | 8 years ago | |
phpunit.xml | 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}"