5 Commits

Author SHA1 Message Date
66a7f6d86b fix: Listen on ipv6 address 🐛
All checks were successful
CI / build (push) Successful in 1m49s
CI / release (release) Successful in 12m44s
2025-02-18 21:58:53 +13:00
7a1184375d fix: CRB was not enabled
All checks were successful
CI / build (push) Successful in 13s
CI / release (release) Successful in 11m33s
2025-02-15 07:31:05 +13:00
c107e646a4 fix: Use Epel-release to enable CRB
Some checks failed
CI / build (push) Successful in 15s
CI / release (release) Failing after 1m14s
2025-02-15 07:27:06 +13:00
fd863473e3 fix: Enable CRB
Some checks failed
CI / build (push) Successful in 16s
CI / release (release) Failing after 41s
2025-02-15 07:24:54 +13:00
ad6e5acbf2 fix: Removed python3-wheel package
Some checks failed
CI / build (push) Successful in 17s
CI / release (release) Failing after 1m1s
2025-02-15 07:14:02 +13:00

View File

@@ -1,10 +1,11 @@
FROM almalinux:9.5
ARG DEV_DEPENDENCIES="gcc python3-devel postgresql-devel mariadb-devel"
RUN dnf update -y \
RUN dnf install -y epel-release \
&& crb enable \
&& dnf update -y \
&& dnf install -y which \
python3-pip \
python3-wheel \
postgresql \
libpq \
mariadb-connector-c
@@ -24,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