Skip to content

Commit

Permalink
23223
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Jan 9, 2024
1 parent 90434a7 commit d6ad863
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ RUN unzip /unpack/output.zip
FROM ghcr.io/openconext/openconext-basecontainers/php82-apache2:latest
# Set the default workdir
WORKDIR /var/www/html
# Copy the files unpacked in stage unpack
COPY --from=unpack /unpack/ /var/www/html/
# Add the application configuration files
COPY config/openconext/parameters.yaml.dist config/openconext/parameters.yaml
COPY config/openconext/institutions.yaml.dist config/openconext/institutions.yaml
COPY config/packages/prod/monolog.yaml.docker config/packages/prod/monolog.yaml

# Add the config files for Apache2
RUN rm -rf /etc/apache2/sites-enabled/*
RUN rm -rf /etc/apache2/sites-enabled/* && rm -rf /var/www/html/output.zip
COPY ./docker/conf/azuremfa-apache2.conf /etc/apache2/sites-enabled/azuremfa.conf
RUN rm -rf /var/www/html/var/cache/prod && chown -R www-data /var/www/html/var
EXPOSE 80
Expand Down

0 comments on commit d6ad863

Please sign in to comment.