From 39cc782ef3cbdf82153ea455031316b1d2ed2af9 Mon Sep 17 00:00:00 2001 From: Mohamed Abdel Wedoud Date: Mon, 7 Oct 2024 18:18:40 +0200 Subject: [PATCH] refactor(docker): pass the `docker command` to the `docker-compose.yml` --- Dockerfile | 5 +---- docker-compose.yml | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 975ef9b776..cc62c2c389 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,4 @@ COPY ./alembic.ini /alembic.ini RUN ./scripts/install-debug.sh RUN pip3 install --upgrade pip \ - && pip3 install -r /conf/requirements.txt - - -ENTRYPOINT ["./scripts/start.sh"] + && pip3 install -r /conf/requirements.txt \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 9c0f877db2..890eb352f1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,6 +16,7 @@ services: - ./resources/deploy/logs:/logs - ./resources/deploy/gunicorn.py:/conf/gunicorn.py - ./antares-8.2.2-Ubuntu-20.04/bin:/antares_simulator + command: ./scripts/start.sh --no-gunicorn antares-antarest-watcher: image: antarest:latest container_name: antarest-watcher