diff --git a/Dockerfile b/Dockerfile index b68c54b..8fe4971 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 ["bash", "-c", "/usr/local/bin/ara-manage migrate && python3 -m gunicorn --workers=4 --access-logfile - --bind 0.0.0.0:8000 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