fix(build): add rust and cargo dependency to builder image
fixes #1 Signed-off-by: SphericalKat <amolele@gmail.com>
This commit is contained in:
parent
2a8ee4cd1e
commit
92146cd3dc
@ -33,3 +33,6 @@ npm-debug.log
|
||||
# this depending on your deployment strategy.
|
||||
/priv/static/
|
||||
.idea
|
||||
/native/ketbin_utils_syntax/target
|
||||
/native/ketbin_utils_syntax/.cargo
|
||||
.elixir_ls
|
@ -1,7 +1,7 @@
|
||||
FROM elixir:alpine AS build
|
||||
|
||||
# install build dependencies
|
||||
RUN apk add --no-cache build-base npm git curl py-pip
|
||||
RUN apk add --no-cache build-base npm git curl py-pip rust cargo
|
||||
|
||||
# prepare build dir
|
||||
WORKDIR /app
|
||||
@ -25,6 +25,7 @@ RUN npm --prefix ./assets ci --progress=false --no-audit --loglevel=error
|
||||
COPY priv priv
|
||||
COPY assets assets
|
||||
COPY lib lib
|
||||
COPY native native
|
||||
RUN npm run --prefix ./assets deploy
|
||||
RUN mix phx.digest
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user