[arvados] updated: 2.5.0-171-gdaa712d26
git repository hosting
git at public.arvados.org
Wed Mar 1 00:20:49 UTC 2023
Summary of changes:
docker/api/Dockerfile | 6 ++++++
docker/api/api-start.sh | 2 +-
2 files changed, 7 insertions(+), 1 deletion(-)
via daa712d2616a93d0e8d37affb94be3a88ad387f0 (commit)
from 99596692f966abb345498bd4b0e20c3a0dcbfb98 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit daa712d2616a93d0e8d37affb94be3a88ad387f0
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Tue Feb 28 19:20:08 2023 -0500
16385: Add CMD
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/docker/api/Dockerfile b/docker/api/Dockerfile
index 705d1e792..8d825cc7b 100644
--- a/docker/api/Dockerfile
+++ b/docker/api/Dockerfile
@@ -24,3 +24,9 @@ RUN echo deb https://oss-binaries.phusionpassenger.com/apt/passenger bullseye ma
RUN apt-get update -q
RUN apt-get install -yq --no-install-recommends arvados-api-server arvados-controller passenger ruby-dev
+
+EXPOSE 8003
+
+COPY api-start.sh /root
+
+CMD /root/api-start.sh
diff --git a/docker/api/api-start.sh b/docker/api/api-start.sh
index bbafc8548..7631a261a 100644
--- a/docker/api/api-start.sh
+++ b/docker/api/api-start.sh
@@ -5,7 +5,7 @@
# SPDX-License-Identifier: Apache-2.0
# Start the first process
-(cd /var/www/arvados-api/current && passenger start) &
+(cd /var/www/arvados-api/current && RAILS_ENV=production passenger start) &
# Start the second process
arvados-controller &
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list