This repo contains the frontend that works together with the ml-service backend. It is versioned by lib-version.
- First clone the repository using
git clone [email protected]:remla24-team-1/app.git
and access it withcd app
. - Create an environment file called
.env
containing MODEL_SERVICE_URL=http://172.17.0.2:8081 within the app-service folder root. For example:echo MODEL_SERVICE_URL=http://172.17.0.2:8081 > .env
- Build the project using
docker build -t ghcr.io/remla24-team-1/app:latest .
, and run the built image usingdocker run -it -p8080:8080 --rm ghcr.io/remla24-team-1/app:latest
.
The service will be hosted at localhost. To access the backend service, the model-service image also has to be ran.
To release a new docker image, create a git tag with git tag vX.X.X
, and push that tag using git push origin tag vX.X.X
. The GitHub workflow will then automatically update the corresponding versions accessible at packages/app.