From f6c68a83f8a2014e92e7f0614000dbfad13350a0 Mon Sep 17 00:00:00 2001 From: hleroy Date: Mon, 22 Jul 2024 19:45:12 +0200 Subject: [PATCH] Added back CMD command Clearning the ENTRYPOINT also clears the CMD. We need to set explicitly CMD again. --- {{cookiecutter.project_slug}}/compose/production/aws/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/{{cookiecutter.project_slug}}/compose/production/aws/Dockerfile b/{{cookiecutter.project_slug}}/compose/production/aws/Dockerfile index 9c7b8a69a..80c9a5cc9 100644 --- a/{{cookiecutter.project_slug}}/compose/production/aws/Dockerfile +++ b/{{cookiecutter.project_slug}}/compose/production/aws/Dockerfile @@ -2,6 +2,7 @@ FROM docker.io/amazon/aws-cli:2.17.0 # Clear entrypoint from the base image, otherwise it's always calling the aws CLI ENTRYPOINT [] +CMD ["/bin/bash"] COPY ./compose/production/aws/maintenance /usr/local/bin/maintenance COPY ./compose/production/postgres/maintenance/_sourced /usr/local/bin/maintenance/_sourced