Added back CMD command

Clearning the ENTRYPOINT also clears the CMD. We need to set explicitly CMD again.
This commit is contained in:
hleroy 2024-07-22 19:45:12 +02:00 committed by Fábio C. Barrionuevo da Luz
parent bee2e414b7
commit 12e9dc753c

View File

@ -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 # Clear entrypoint from the base image, otherwise it's always calling the aws CLI
ENTRYPOINT [] ENTRYPOINT []
CMD ["/bin/bash"]
COPY ./compose/production/aws/maintenance /usr/local/bin/maintenance COPY ./compose/production/aws/maintenance /usr/local/bin/maintenance
COPY ./compose/production/postgres/maintenance/_sourced /usr/local/bin/maintenance/_sourced COPY ./compose/production/postgres/maintenance/_sourced /usr/local/bin/maintenance/_sourced