### Docker deployment

The repository has a prepared Dockerfile so you can build the image: 

```
docker build . -t inject-fe
```

Run the following command to deploy the docker container:

```
docker run -p 80:80 inject-fe
```

During runtime of the container it's required to bind the container to a given `backend` instance:

```
docker run -p 80:80 -e VITE_HTTP_HOST=secure-be.inject.muni.cz -e VITE_HTTP_WS=wss://secure-be.inject.muni.cz/ttxbackend/v1/graphql inject-fe
```

Please keep in mind that changing environment variables requires restarting the container if done during runtime.