fix(build): add rust and cargo dependency to builder image

fixes #1

Signed-off-by: SphericalKat <amolele@gmail.com>
This commit is contained in:
sphericalkat committed 2021-08-17 03:22:52 +05:30
1 parent 2a8ee4cd1e
commit 92146cd3dc
2 files changed
+6 -2

No files matched your search

+2 -1
View File
@@ -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