1 Commits

Author SHA1 Message Date
3cc0cd2955 fix: Escape percentage signs in CMD for proper log formatting
Some checks failed
CI / build (push) Successful in 11s
CI / release (release) Failing after 52s
2025-12-04 15:07:35 +13:00

View File

@@ -25,5 +25,5 @@ RUN microdnf remove -y ${DEV_DEPENDENCIES} \
# Set up the container to execute SQL migrations and run the API server with gunicorn # Set up the container to execute SQL migrations and run the API server with gunicorn
ENV ARA_BASE_DIR=/opt/ara 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 EXPOSE 8000