try out new settings for building @iota/client

This commit is contained in:
Einhornimmond 2023-06-08 18:57:00 +02:00 committed by einhorn_b
parent c666b60e16
commit 8b50bc8ed3

View File

@ -49,6 +49,9 @@ RUN mkdir -p /database
##################################################################################
FROM base as development
# needed for building @iota/client, it is a rust based module
RUN apk add --no-cache rust cargo python
# We don't need to copy or build anything since we gonna bind to the
# local filesystem which will need a rebuild anyway
@ -67,6 +70,9 @@ COPY ./backend/ ./
# Copy everything from database
COPY ./database/ ../database/
# needed for building @iota/client, it is a rust based module
RUN apk add --no-cache rust cargo python
# yarn install backend
RUN yarn install --production=false --frozen-lockfile --non-interactive