Skip to content

Commit

Permalink
fix(docker): fix Dockerfile (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr committed May 24, 2022
1 parent 9d9da95 commit d0be40e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
**/.env

/bin/inx-chronicle/config.toml

.vscode
2 changes: 1 addition & 1 deletion bin/inx-chronicle/config.template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ username = "root"
password = "root"

[api]
port = 9092
port = 8042
allow_origins = ["0.0.0.0"]

[collector.inx]
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ FROM gcr.io/distroless/cc-debian11:nonroot AS runtime

EXPOSE 9092/tcp

COPY --chown=nonroot:nonroot --from=builder /inx-chronicle/target/release/inx-chronicle /app/inx-chronicle
COPY --chown=nonroot:nonroot --from=builder /inx-chronicle/target/production/inx-chronicle /app/inx-chronicle

WORKDIR /app
USER nonroot
Expand Down

0 comments on commit d0be40e

Please sign in to comment.