The first thing to do is to install Git on the remote server.
Once you do that the rest of the process is split into three sections:
- Server set-up
- Local set-up (push commits)
- Server (pull commits)
| FROM ruby:3.0-alpine | |
| RUN apk add --no-cache --update \ | |
| ack \ | |
| bash \ | |
| build-base \ | |
| curl \ | |
| git \ | |
| htop \ | |
| less \ |