Dockerfile.build 445 B

1234567891011121314151617
  1. FROM docker.io/python:3.10@sha256:eeed7cac682f9274d183f8a7533ee1360a26acb3616aa712b2be7896f80d8c5f as algorand-contracts-build
  2. RUN python3 -m pip install virtualenv
  3. COPY Pipfile.lock Pipfile.lock
  4. COPY Pipfile Pipfile
  5. RUN python3 -m pip install pipenv
  6. RUN pipenv install
  7. RUN mkdir teal
  8. COPY *.py .
  9. RUN pipenv run python3 admin.py --mainnet --genTeal
  10. FROM scratch AS algorand-contracts-export
  11. COPY --from=algorand-contracts-build /teal/* .