Make sure to have Docker installed.
To build the web client image, run the command below from the repository root:
docker build --platform linux/x86_64 --tag {custom_tag} -f build/web/Dockerfile .
To push the image, run:
docker image push {custom_tag}
To push the image onto the Docker Hub Container Image Library,
{custom_tag}
has to be prefixed by your Docker Hub username e.g.bryanmylee/server
.
Run a container with the latest version of the image and it will be pulled automatically.
The web client should run on port 10443
, which will be forwarded to 443
by NGINX. Refer to the Web Client NGINX configuration.
Certain parts of the application are controlled via environment variables. Pass them into the container with -e
/ --env
.
docker run --detach --name {name} --publish 10443:9000 {custom_tag}