Robin Thoni e82f96416d fixed null string error | 8 lat temu | |
---|---|---|
app | 8 lat temu | |
docker | 8 lat temu | |
public | 8 lat temu | |
storage | 8 lat temu | |
.gitignore | 8 lat temu | |
README.md | 8 lat temu | |
composer.json | 8 lat temu | |
composer.lock | 8 lat temu | |
config.json | 8 lat temu | |
phpunit.xml | 8 lat temu |
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}"