You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to deploy Keila with your docker-compose and Dockerfile.
Unfortunately I'm getting the following error and don't know what I'm doing wrong:
Building keila
Step 1/20 : FROM elixir:1.14-alpine as build
---> a89df6b6e0a1
Step 2/20 : ENV MIX_ENV=prod
---> Using cache
---> ba5f62d4935b
Step 3/20 : RUN apk add git npm build-base
---> Using cache
---> c175672cfd1f
Step 4/20 : COPY mix.exs mix.lock ./
ERROR: Service 'keila' failed to build: COPY failed: file not found in build context or excluded by .dockerignore: stat mix.exs: file does not exist
Is your docker-compose file placed in the ops folder? Because otherwise the context that we have in our default docker-compose file shouldn’t be included.
I think I figured it out. I needed to check out the complete Repo locally. After doing that I could deploy the containers with my docker-compose file located in the ops folder :)
You can close this issue. Thanks for your quick reply!
Glad to hear you’ve figured it out! You don’t really have to clone the repo though, you only have to clone it if you want to build your own image. Otherwise you can use the official pentacent/keila image.
Hi,
I'm trying to deploy Keila with your docker-compose and Dockerfile.
Unfortunately I'm getting the following error and don't know what I'm doing wrong:
My docker-compose file looks like this:
The text was updated successfully, but these errors were encountered: