Skip to content

Commit

Permalink
fix: remove recursive rm & downlaod solc at build stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita P committed Oct 23, 2024
1 parent 430f07e commit 4b8247c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ RUN poetry self update 1.8.2
WORKDIR /home/root/scripts
COPY . .


# remove all temporary files to ensure correct compilation
RUN rm -rf ./build/contracts/*.json
RUN rm -f ./build/contracts/*.json


# install project-defined prerequisites
RUN poetry install
RUN yarn
RUN poetry run brownie networks import network-config.yaml True

RUN poetry run brownie compile

# install & configure sshd
ENV DEBIAN_FRONTEND=noninteractive
Expand Down

0 comments on commit 4b8247c

Please sign in to comment.