From f1b089eb8a4c0d345de5e539abeb45598b9b90c2 Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Fri, 8 Jan 2021 14:02:09 -0600 Subject: [PATCH] fix: Copy whole working dir in Dockerfile before building assets --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 44a10029..92c9f70b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,9 +35,7 @@ RUN MAKE=cmake mix compile FROM node:15.0 WORKDIR /root/app/apps/app/assets/ -COPY --from=0 /root/app/apps/app/assets/ /root/app/apps/app/assets -COPY --from=0 /root/app/deps/phoenix/ /root/app/apps/app/assets/node_modules/phoenix -COPY --from=0 /root/app/deps/phoenix_html/ /root/app/apps/app/assets/node_modules/phoenix_html +COPY --from=0 /root/app/ /root/app/ RUN npm install RUN npm run deploy