Skip to content

Commit

Permalink
Docker: small cleanup of portal image
Browse files Browse the repository at this point in the history
  • Loading branch information
lwesterhof committed Jul 31, 2024
1 parent 968b4e1 commit 863511b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/images/yoda_portal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 863511b

Please sign in to comment.