Skip to content
Fredrik August Madsen-Malmo edited this page Mar 17, 2021 · 3 revisions

Docker

We build docker images in the continuous integration pipeline (actions) which can be spun up very quickly on your computer (or a server!). As of now, it only publishes release images.

Downloading and running the docker image

You will need Docker installed for this.

Run the following two commands to run the server locally – exposed on port 5000 over HTTP.

You can also select the build to run based on the tags here.

docker run -p 5000:80 ghcr.io/it2901-sintef01/backend:latest

You will also need to add -e with the applicable environment variables (specified in README).