From 0a0c52c5d4fc260fa8949de7efc096c7b643eb01 Mon Sep 17 00:00:00 2001 From: Jamil Bou Kheir Date: Thu, 22 Jul 2021 17:17:41 -0700 Subject: [PATCH] Why you not there --- .dockerignore | 8 -------- pkg/Dockerfile.release | 3 ++- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.dockerignore b/.dockerignore index 8f6534100..16b80c8e8 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,18 +1,10 @@ apps/fg_http/assets/node_modules apps/fg_http/priv/static - _build apps/fg_http/_build apps/fg_wall/_build apps/fg_vpn/_build - **/cover - docs - .DS_Store - .git - -# buildx ignores stuff that git ls-files doesn't show, so we need these -!deps diff --git a/pkg/Dockerfile.release b/pkg/Dockerfile.release index fbd718e67..cab3505c7 100644 --- a/pkg/Dockerfile.release +++ b/pkg/Dockerfile.release @@ -20,8 +20,9 @@ COPY apps/fz_http/assets apps/fz_http/assets RUN npm run --prefix ./apps/fz_http/assets deploy && \ cd apps/fz_http && mix phx.digest # Copy remaining items for release +COPY deps deps +RUN bash -c "tree ." COPY rel rel COPY config config COPY apps apps -COPY deps deps RUN mix release