You've already forked docker-ara
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 66a7f6d86b | |||
| 7a1184375d |
@@ -2,6 +2,7 @@ FROM almalinux:9.5
|
|||||||
ARG DEV_DEPENDENCIES="gcc python3-devel postgresql-devel mariadb-devel"
|
ARG DEV_DEPENDENCIES="gcc python3-devel postgresql-devel mariadb-devel"
|
||||||
|
|
||||||
RUN dnf install -y epel-release \
|
RUN dnf install -y epel-release \
|
||||||
|
&& crb enable \
|
||||||
&& dnf update -y \
|
&& dnf update -y \
|
||||||
&& dnf install -y which \
|
&& dnf install -y which \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
@@ -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
|
# 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 ["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
|
EXPOSE 8000
|
||||||
Reference in New Issue
Block a user