# How can I customize the web interface?

**URL:** <https://forums.screenly.io/t/how-can-i-customize-the-web-interface/1608>\
**Category:** Anthias\
**Created:** [October 11, 2024, 7:51pm UTC](https://forums.screenly.io/t/how-can-i-customize-the-web-interface/1608 "2024-10-11T19:51:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fol](https://avatars.discourse-cdn.com/v4/letter/f/977dab/32.png) [@fol](https://forums.screenly.io/u/fol)\
**Post date:** [October 11, 2024, 7:51pm UTC](https://forums.screenly.io/t/how-can-i-customize-the-web-interface/1608/1 "2024-10-11T19:51:14Z")

</div>

Hello everyone,  
I’ve successfully installed Anthias on my raspberrypi and have basic understandings of how dockers work but almost zero knowledge about docker-compose.  
I’ve edited some html files relative to the admin dashboard and I’d like to re-build the docker to reflect those changes, I don’t want to actually go into the docker instance itself and change the code there. How can I do it?  
Thanks for your help!

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/screenly/original/1X/a28d889bae0031698878be51b71ae9a37b55ccc8.png)

Running `docker compose build` in that directory yields:

```auto
+] Building 0.3s (2/2) FINISHED docker:default
 => [redis internal] load build definition from Dockerfile.redis 0.1s
 => => transferring dockerfile: 2B 0.0s
 => [anthias-server internal] load build definition from Dockerfile.serve 0.0s
 => => transferring dockerfile: 2B 0.0s
failed to solve: failed to read dockerfile: open Dockerfile.server: no such file or directory

```

---

<div class="post-metadata">

**Author:** ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)\
**Post date:** [October 13, 2024, 5:32pm UTC](https://forums.screenly.io/t/how-can-i-customize-the-web-interface/1608/2 "2024-10-13T17:32:45Z")

</div>

@fol, maybe this would do the trick:

```bash
cd ~/screenly
BUILD_TARGET=<PI_VERSION> DOCKERFILES_ONLY=1 DEV_MODE=1 ./bin/build_containers.sh
docker compose down && ./bin/upgrade_containers.sh

```

Take note that `PI_VERSION` could be something like `pi1`, `pi2`, `pi3`, or `pi4`. (It depends on your device.)

Let me know if you have further questions or concerns. Thanks.

---

<div class="post-metadata">

**Author:** ![fol](https://avatars.discourse-cdn.com/v4/letter/f/977dab/32.png) [@fol](https://forums.screenly.io/u/fol)\
**Post date:** [October 14, 2024, 7:58pm UTC](https://forums.screenly.io/t/how-can-i-customize-the-web-interface/1608/3 "2024-10-14T19:58:41Z")

</div>

Thanks @nicomiguelino for your response, unfortunately it did not work.  
I’ve edited files in `screenly/templates/` and `screenly/static/css` but running the command you provided just deploys everything back to the original state, ignoring my changes.

In other words, I am not able to make it reflect my local changes to the docker container for the `anthias-server`.

---

<div class="post-metadata">

**Author:** ![nicomiguelino](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@nicomiguelino](https://forums.screenly.io/u/nicomiguelino)\
**Post date:** [October 14, 2024, 8:19pm UTC](https://forums.screenly.io/t/how-can-i-customize-the-web-interface/1608/4 "2024-10-14T20:19:41Z")

</div>

@fol, I might have missed something. Aside from the steps that I previously mentioned, edit `bin/upgrade_containers.sh` and replace `pull` with `build`.

---

<div class="post-metadata">

**Author:** ![fol](https://avatars.discourse-cdn.com/v4/letter/f/977dab/32.png) [@fol](https://forums.screenly.io/u/fol)\
**Post date:** [October 27, 2024, 10:00am UTC](https://forums.screenly.io/t/how-can-i-customize-the-web-interface/1608/5 "2024-10-27T10:00:56Z")

</div>

Thanks for your response @nicomiguelino, unfortunately I am not able to test this out in the near future. Once I’ll get the opportunity to do so I’ll reach back to you. Leaving this thread as open for now.  
Thanks!
