From ca26f6d88ddcdb1503c1d0fd575a36ceabe9633e Mon Sep 17 00:00:00 2001 From: Gianni Carafa Date: Thu, 2 Nov 2023 17:47:08 +0100 Subject: [PATCH] add command --- Dockerfile | 4 +++- docker-compose.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 17e0706..0700571 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,6 @@ RUN apt update && apt install -y ca-certificates && rm -rf /var/lib/apt/lists/* #EXPOSE 8080 -#ENTRYPOINT ["/usr/bin/dumb-init", "--"] \ No newline at end of file +#ENTRYPOINT ["/usr/bin/dumb-init", "--"] + +CMD ["sh", "-c", "/app/ladder"] \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 5eba5b5..7ada104 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -6,7 +6,7 @@ services: build: . #restart: always #command: tail -f /dev/null - command: sh -c ./ladder + #command: sh -c ./ladder environment: - PORT=8080 - PREFORK=true