From 7172bbf4e0e5cb3c245e02a443b45d82bc2c7d29 Mon Sep 17 00:00:00 2001 From: Aaron Guise Date: Thu, 4 Dec 2025 14:41:12 +1300 Subject: [PATCH] fix: Escape quotes in CMD for proper execution :bug: --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2834a4b..30198ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,5 +25,5 @@ RUN dnf remove -y ${DEV_DEPENDENCIES} \ # Set up the container to execute SQL migrations and run the API server with gunicorn ENV ARA_BASE_DIR=/opt/ara -CMD ["/bin/bash", "-c", "/usr/local/bin/ara-manage migrate && python3 -m gunicorn --workers=4 --access-logfile - --bind [::]:8000 --access-logformat '%({x-forwarded-for}i)s %l %u %t \"%r\" %s %b \"%f\" \"%a\"' ara.server.wsgi"] +CMD ["/bin/bash", "-c", "/usr/local/bin/ara-manage migrate && python3 -m gunicorn --workers=4 --access-logfile - --bind [::]:8000 --access-logformat '%({x-forwarded-for}i)s %l %u %t \\\"%r\\\" %s %b \\\"%f\\\" \\\"%a\\\"' ara.server.wsgi"] EXPOSE 8000 \ No newline at end of file