From 2c12138f00e3034797ed3c94df57cdfda30ceae7 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Thu, 17 Jun 2021 10:40:21 +0200 Subject: [PATCH] Fix Docker build Signed-off-by: Thomas Citharel --- docker/production/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/production/Dockerfile b/docker/production/Dockerfile index 6f0f36d9d..560cd4ad3 100644 --- a/docker/production/Dockerfile +++ b/docker/production/Dockerfile @@ -4,7 +4,6 @@ FROM node:16-alpine as assets RUN apk add --no-cache python3 build-base libwebp-tools bash imagemagick ncurses WORKDIR /build COPY js . -RUN ls -a RUN yarn install \ && yarn run build @@ -25,7 +24,7 @@ COPY config/config.exs config/prod.exs ./config/ COPY config/docker.exs ./config/runtime.exs COPY rel ./rel COPY support ./support -COPY --from=assets ./build/priv/static ./priv/static +COPY --from=assets ./priv/static ./priv/static RUN mix phx.digest \ && mix release