mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-21 23:44:30 +00:00
Fix Docker build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
b52c2bb1d1
commit
2c12138f00
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue