diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 12:14:35 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-09-07 12:42:42 +0200 |
commit | c4df9be296ab56a7e5b2aa3f5e2f0ad060e0da96 (patch) | |
tree | e26d07338df8d7a6f7d8432ea9b1a226f463ece7 | |
parent | add Makefile (diff) | |
download | cimple-c4df9be296ab56a7e5b2aa3f5e2f0ad060e0da96.tar.gz cimple-c4df9be296ab56a7e5b2aa3f5e2f0ad060e0da96.zip |
docker: add bin to PATH
-rw-r--r-- | Dockerfile | 3 | ||||
-rw-r--r-- | docker-compose.yml | 6 |
2 files changed, 5 insertions, 4 deletions
@@ -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' |