kind: pipeline type: docker name: default steps: - name: node image: docker volumes: - name: docker_sock path: /var/run/docker.sock commands: - docker build --tag ofb_angular . - docker rm -f ofb_angular || true - docker run --name ofb_angular --restart always -v /home/admin/web/static.danabsher.com/public_html/media:/media -d -p "8111:8111" ofb_angular volumes: - name: docker_sock host: path: /var/run/docker.sock