Commit 5b34f0fa authored by Cresson Remi's avatar Cresson Remi
Browse files

Update Dockerfile

parent d659f90b
No related merge requests found
Pipeline #43030 passed with stage
in 1 minute and 19 seconds
Showing with 6 additions and 0 deletions
+6 -0
FROM ubuntu/apache2
RUN sed -i 's#<Directory /var/www/>#<Directory /var/www/>\n Header set Access-Control-Allow-Origin "*"#g' /etc/apache2/apache2.conf
RUN a2enmod headers
RUN apt update \
&& apt upgrade -y \
&& apt install -y libcap2-bin procps \
&& setcap 'cap_net_bind_service=+ep' /usr/sbin/apache2 \
&& chown www-data:www-data /var/log/apache2
USER www-data
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment