Closed rudifa closed 4 years ago
The scripts are now named more consistently; see package.json:
…
"scripts": {
"start": "node index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"docker:build": "DOCKER_BUILDKIT=1 docker build --tag olange/arcade-engine .",
"docker:start": "docker run --detach --name arcade-engine --publish 4000:4000 olange/arcade-engine",
"docker:stop": "docker rm -f $(docker ps -a --filter 'name=arcade-engine' -q)"
},
…
@olange Is there a better way to handle this problem:
npm run server
fails if the container name is already in useMy problem:
My solution:
Is there a better way to handle this situation?