Skip to content

Commit ed77220

Browse files
Repair docker startup so commands work (#35)
* Repair docker startup so commands work * Remove startup script copy
1 parent e19518b commit ed77220

3 files changed

Lines changed: 4 additions & 23 deletions

File tree

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,5 @@ FROM debian:stable-slim
3434
COPY --from=build /up-subscription-rust/target/dist/up-subscription-cli .
3535
RUN chmod +x /up-subscription-cli
3636

37-
ADD tools/startup.sh /
38-
RUN chmod +x /startup.sh
39-
4037
# set the startup command to run your binary
41-
ENTRYPOINT ["/startup.sh"]
38+
ENTRYPOINT ["/up-subscription-cli"]

docker-compose.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ services:
2323
- AUTHORITY=usubscription.local
2424
- TRANSPORT=zenoh
2525
- VERBOSE=true
26-
27-
# - SUBSCRIPTION_BUFFER=1024
28-
# - NOTIFICATION_BUFFER=1024
26+
# - SUBSCRIPTION_BUFFER=1024
27+
# - NOTIFICATION_BUFFER=1024
28+
# command: ["mqtt5"]

tools/startup.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)