Closed poperigby closed 4 years ago
The Dockerfile uses a relative path:
You put the Dockerfile
in a build
folder, and build/config/secret.exs
doesn't exist. My guess is that this is the problem
Ok, I moved the Dockerfile
out of build
. Now I get this though:
warning: variable "clX9o1" does not exist and is being expanded to "clX9o1()", please use parentheses to remove the ambiguity or change the variable name
config/prod.secret.exs:6
** (CompileError) config/prod.secret.exs:6: undefined function clX9o1/0
(stdlib 3.12.1) lists.erl:1354: :lists.mapfoldl/3
(stdlib 3.12.1) lists.erl:1354: :lists.mapfoldl/3
ERROR: Service 'web' failed to build: The command '/bin/sh -c mix local.rebar --force && mix local.hex --force && mix deps.get && mix compile' returned a non-zero code: 1
Mmh, did you put the secret between double quotes?
That was the problem. Thanks!
On Wednesday, August 5, 2020 12:23:42 PM PDT Stanislas wrote:
Mmh, did you put the secret between double quotes? Looks like that was the problem
I'm getting this error when trying to build Pleroma. I have
/config/secret.exs
, so I don't know what it's complaining about.This is my current file structure:
This is my
docker-compose.yml
: