docker-compose build --pull
docker-compose run --rm node yarn
docker-compose up server
docker-compose run --rm node yarn build
Generate a SSH key, stored on deploy/.ssh
:
ssh-keygen -f deploy/.ssh/id_rsa
Copy the public key on your server and run the following command to start a new deploy:
docker-compose run --rm deployer deploy production