Skip to content

Commit

Permalink
fix(su): update Dockerfile for su
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed May 1, 2024
1 parent e731c2e commit cd5e86e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,14 @@ services:
image: ghcr.io/ar-io/ao-su:latest
build:
context: servers/su
command: ["su", "9000"]
ports:
- 4003:9000
volumes:
- ./wallets/ao-wallet.json:/usr/app/ao-wallet.json
environment:
- DATABASE_URL=${DATABASE_URL:-postgresql://su_user:su_pass@su-database/su_db}
- GATEWAY_URL=${GATEWAY_URL:-http://arlocal/}
- DATABASE_URL=${DATABASE_URL:-postgresql://su_user:su_pass@su-database/su}
- GATEWAY_URL=${GATEWAY_URL:-https://arweave.net/}
- UPLOAD_NODE_URL=${UPLOAD_NODE_URL:-https://turbo.ardrive.dev}
- MODE=${MODE:-su}
- DEBUG=${DEBUG:-*}
Expand Down
3 changes: 1 addition & 2 deletions servers/su/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,5 @@ COPY --from=builder /usr/src/su/target/x86_64-unknown-linux-musl/release/su /app
# (This will be displayed when someone runs `docker build`)
LABEL build_instructions="To build just the binary, run the following command: docker build --target builder -t su ."

# Run the binary
# Run the binary - provide args on execution
ENTRYPOINT [ "/app/su" ]
CMD ["su", "9000"]

0 comments on commit cd5e86e

Please sign in to comment.