Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Config for different Dockerfile for release doesnt work #56

Open
matramos opened this issue Mar 13, 2018 · 1 comment
Open

Config for different Dockerfile for release doesnt work #56

matramos opened this issue Mar 13, 2018 · 1 comment

Comments

@matramos
Copy link

In my config, I add the path for my release just like in
https://github.com/Recruitee/mix_docker#how-to-move-the-dockerfiles

config :mix_docker,
  image: "path/to/image",
  tag: "{app}_{mix-version}_{git-sha}",
  dockerfile_release: "release/Dockerfile.release"

And when I try to do mix docker.release it just run the default Dockerfile.release not the costume written by me.

I tried differents ways to write the path, like ./path, /path, etc. Different names for the Dockerfile and it still doesn't work.

Any ideas?

@smoku
Copy link
Member

smoku commented Jun 7, 2018

@matramos I advise migrating to docker multi-stage according to the new readme - https://github.com/Recruitee/mix_docker/pull/58/files

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants