Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.24 KB

DOCKER.md

File metadata and controls

33 lines (22 loc) · 1.24 KB

Docker

This repo uses Docker (or any docker-compatible client) as a containerization tool.

Some compatible options are:

Please note, you do not need a "desktop" version of docker to run this project. Any docker-compatible container client is all that is required. However, not all clients have been tested with this project.

Docker commands for testing

You can use the following commands to test the docker images. They are not normally run separately, and instead are run together, using the docker compose up command. However, there are times when you may want to test the individual docker images, to make sure they are working as expected, or to debug issues. This allows you to do so.

Server

docker build -f ./docker-server.Dockerfile -t ucw-app-server-cli --build-arg APP=server .
docker run --name ucw-app-server-cli --rm -p 8080:8080 --env-file ./apps/server/.env -t ucw-app-server-cli

Testing with Docker Compose

While developing the UCW with docker compose, using --build should build the docker images, so local changes can be tested.

docker compose up --build