Skip to content

Commit

Permalink
fix: docker deployer (#860)
Browse files Browse the repository at this point in the history
  • Loading branch information
greged93 authored Jan 4, 2024
1 parent 5822210 commit dadc319
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ lint:
- shellcheck@0.9.0
- shfmt@3.6.0
- taplo@0.8.1
- terrascan@1.18.3
- terrascan@1.18.11
- yamllint@1.32.0
disabled:
- trufflehog
Expand Down
7 changes: 6 additions & 1 deletion docker/deployer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# trunk-ignore-all(terrascan/AC_DOCKER_0047)
# trunk-ignore-all(hadolint/DL4006)
# trunk-ignore-all(checkov/CKV_DOCKER_3)
FROM python:3.9.13

HEALTHCHECK NONE

# install poetry
RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="$PATH:/root/.local/bin"
Expand All @@ -11,10 +16,10 @@ COPY poetry.lock .
COPY pyproject.toml .
COPY scripts ./scripts
COPY README.md .
COPY tests ./tests
RUN poetry install
# split install in two steps to leverage docker cache
COPY . .
RUN poetry install

# Build contracts
RUN python scripts/compile_kakarot.py
Expand Down

0 comments on commit dadc319

Please sign in to comment.