From 863511b04b65cd85d793c9861dc38db13b3123f2 Mon Sep 17 00:00:00 2001 From: Lazlo Westerhof Date: Wed, 31 Jul 2024 15:58:48 +0200 Subject: [PATCH] Docker: small cleanup of portal image --- docker/images/yoda_portal/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker/images/yoda_portal/Dockerfile b/docker/images/yoda_portal/Dockerfile index 4960cf21..2b57d00b 100644 --- a/docker/images/yoda_portal/Dockerfile +++ b/docker/images/yoda_portal/Dockerfile @@ -42,10 +42,13 @@ RUN useradd yodadeployment && \ chown yodadeployment:yodadeployment /var/www/yoda && \ git clone --branch $YODA_PORTAL_BRANCH $YODA_PORTAL_REPO /var/www/yoda && \ git config --global --add safe.directory /var/www/yoda -# Create portal's shared config folder + +# Create Yoda Portal config folder RUN mkdir -p /var/www/yoda/config && \ chown yodadeployment:yodadeployment /var/www/yoda/config && \ chmod 0775 /var/www/yoda/config + +# Copy Yoda Portal virtual host config for Apache COPY yoda-portal-vhost.conf /etc/apache2/sites-available/001-yoda-portal-vhost.conf RUN ln -s /etc/apache2/sites-available/001-yoda-portal-vhost.conf /etc/apache2/sites-enabled/001-yoda-portal-vhost.conf RUN virtualenv --python /usr/bin/python3 /var/www/yoda/venv && \