- Create a
backend/.env
file out of the respectiveEXAMPLE.env
file. - Start frontend & backend with
npm run dev
- Create a
./.env
and abackend/.env.production
file out of the respectiveEXAMPLE.env
files. - Build:
docker compose build
- Tag:
docker tag esport-tipping-server maxnoetzold/esport-tipping-server:${version}
- Upload:
docker push maxnoetzold/esport-tipping-server:${version}
- Tag:
- Run:
docker-compose up -d
- Probably first run
nano docker-compose.yaml
to edit the versions tag - Download:
docker pull maxnoetzold/esport-tipping-server:${version}
- Copy the relevant docker files to the server
scp docker-compose.yaml .env Dockerfile user@ip:~/server docker-compose.yaml
- Probably first run
Build the container: docker build -t esport-tipping .
Run the container: docker run --init -p 3000:3000 esport-tipping