aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Dockerfile3
-rw-r--r--docker-compose.yml6
2 files changed, 5 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 22c9ff7..295b3ff 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -31,7 +31,8 @@ RUN apk add --no-cache tini libgit2
ARG install_dir
COPY --from=builder ["$install_dir", "$install_dir"]
+ENV PATH="$install_dir/bin:${PATH}"
WORKDIR "$install_dir/bin"
ENTRYPOINT ["/sbin/tini", "--"]
-CMD ["./cimple-server"]
+CMD ["cimple-server"]
diff --git a/docker-compose.yml b/docker-compose.yml
index 44c809c..d6d8460 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -15,15 +15,15 @@ services:
- 5556
worker1:
<<: *common
- command: ["./cimple-worker"]
+ command: ["cimple-worker"]
depends_on: [server]
worker2:
<<: *common
- command: ["./cimple-worker"]
+ command: ["cimple-worker"]
depends_on: [server]
client:
<<: *common
command: []
depends_on: [server]
- entrypoint: ["./cimple-client"]
+ entrypoint: ["cimple-client"]
restart: 'no'