Having issues with Phoenix's docs about containers and releases

I have stood up a very basic vanilla phoenix app in hopes to better learn about how I can deploy clusters,

When reviewing the docs I found this example Dockerfile. Deploying with Releases — Phoenix v1.5.8

I copied said Dockerfile

But I found that the copy command does not copy any files but also does not fail.

As we can see the command runs and does not error.

But when running ls the dir for /app/ we see there is no bin folder in the app dir.

Heres my docker info


On OSX 11.2.1

Ah found it, in my compose I overwrote the app folder with my own app dir volume :man_facepalming: thus it would remove the bin folder.

Lesson: Don’t mix your dev and prod docker compose apps.

1 Like