Skip to content

Commit

Permalink
Updated docker-compose.yaml
Browse files Browse the repository at this point in the history
Updated `docker-compose.yaml` to read the correct arch from device so arm64 devices can run Documize as well
  • Loading branch information
rursache authored Dec 17, 2022
1 parent ae77fa2 commit 5a3cb1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:

app:
image: debian:latest
command: /bin/sh -c "apt-get -qq update && apt-get -qq install -y wget && wget https://community-downloads.s3.us-east-2.amazonaws.com/documize-community-plus-linux-amd64 && chmod 777 ./documize-community-plus-linux-amd64 && ./documize-community-plus-linux-amd64"
command: /bin/sh -c "arch=$(dpkg --print-architecture) && apt-get -qq update && apt-get -qq install -y wget && wget https://community-downloads.s3.us-east-2.amazonaws.com/documize-community-plus-linux-${arch} && chmod 777 ./documize-community-plus-linux-${arch} && ./documize-community-plus-linux-${arch}"
depends_on:
- db
ports:
Expand Down

0 comments on commit 5a3cb1b

Please sign in to comment.