Skip to content

Commit

Permalink
Merge pull request #9 from prototyp3-dev/feature/cd
Browse files Browse the repository at this point in the history
build: Install cartesi-client by generating and using tarball
  • Loading branch information
felipefg authored Jan 22, 2024
2 parents c2ddd8a + ef20bda commit fd864c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ RUN \
git clone -b feature/types-and-standardizations --depth 1 https://github.com/prototyp3-dev/cartesi-client.git && \
cd cartesi-client && \
npm clean-install && \
npm run build
npm run build && \
npm pack .

# Install dependencies
WORKDIR /app
COPY package.json package-lock.json* ./
RUN \
npm clean-install && \
npm install --no-save --install-links /opt/cartesi-client/cartesi-client && \
npm install --no-save "@cartesi/rollups@^1.1.0" "@urql/core@^4.1.4" "@urql/exchange-retry@^1.2.0" "urql@^4.0.5"
npm install /opt/cartesi-client/cartesi-client/cartesi-client*.tgz


# Rebuild the source code only when needed
Expand Down

0 comments on commit fd864c2

Please sign in to comment.