# Adding Squeezelite to Balenasound container

**URL:** <https://forums.balena.io/t/adding-squeezelite-to-balenasound-container/121892>\
**Category:** balenaOS\
**Created:** [May 28, 2020, 3:54pm UTC](https://forums.balena.io/t/adding-squeezelite-to-balenasound-container/121892 "2020-05-28T15:54:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eater](https://avatars.discourse-cdn.com/v4/letter/e/67e7ee/32.png) [@eater](https://forums.balena.io/u/eater)\
**Post date:** [May 28, 2020, 3:54pm UTC](https://forums.balena.io/t/adding-squeezelite-to-balenasound-container/121892/1 "2020-05-28T15:54:06Z")

</div>

Hi. I’ve just flashed Balenasound and it works! I’d like to add Squeezelite to it but I don’t really know what I’m doing: I’m a user and definitely not a software developer.

I’m trying to follow these instructions:

> **[Two projects, one device: turn your Raspberry Pi into a multitool!](https://www.balena.io/blog/two-projects-one-device-turn-your-raspberry-pi-into-a-multitool/)**
>
> We’re going to take a look at how to run multiple balena projects on a single device, allowing you to do more with the hardware you already have.

And trying to incorporate this image: [https://github.com/jakobengdahl/rpi-squeezelite](https://github.com/jakobengdahl/rpi-squeezelite)

I created a new copy of the balena-sound app and edited its docker-compose.yml to point to the squeezelite Dockerfile in the same directory, adding:

```
  rpi-squeezelite:
    build: 
      context: ./Dockerfile
      dockerfile: ./Dockerfile

```

(YML file attached, renamed with a “.log” extension so the forum would allow the upload)

But when I push the app, I just get:

```
[Error] Could not detect project type: Service rpi-squeezelite: Specified file not found or is invalid: Dockerfile
[Error] Not deploying release.

```

What is the obvious mistake I’m probably making?[docker-compose.log](https://forums.balena.io/uploads/short-url/nQt2i6jbNi1vKeSlUt5Mi0xE4KE.log) (1.6 KB)

---

<div class="post-metadata">

**Author:** ![tmigone](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/tmigone/32/2814_2.png) [@tmigone](https://forums.balena.io/u/tmigone)\
**Post date:** [May 28, 2020, 4:13pm UTC](https://forums.balena.io/t/adding-squeezelite-to-balenasound-container/121892/3 "2020-05-28T16:13:39Z")

</div>

Hi there! Thanks for checking out balenaSound, glad you got it running!

About the `docker-compose.yml`, the file you shared is almost correct. The `context` keyword under `build` is used to indicate the path to where the dockerfile is located, and the `dockerfile` keyword to indicate the name of said dockerfile. `Dockerfile` is the default dockerfile name so you can avoid adding the `dockerfile` keyword if that’s the case. Also, in that case, you can also “collapse” the `context` into `build` for a short version of it. Let me exemplify it…

So in your case, assuming you have the `Dockerfile` on the same directory as you have the `docker-compose.yml` any of these should work:

```auto
build:
   context: ./
   dockerfile: Dockerfile

```

```auto
build:
   context: ./

```

```auto
build: ./

```

Let us know if this is of help! Cheers!

---

<div class="post-metadata">

**Author:** ![eater](https://avatars.discourse-cdn.com/v4/letter/e/67e7ee/32.png) [@eater](https://forums.balena.io/u/eater)\
**Post date:** [May 28, 2020, 6:09pm UTC](https://forums.balena.io/t/adding-squeezelite-to-balenasound-container/121892/5 "2020-05-28T18:09:39Z")

</div>

Perfect, thanks!
