|
@@ -34,14 +34,9 @@ RUN docker-php-ext-install -j$(nproc) \
|
|
|
exif \
|
|
|
pdo_pgsql \
|
|
|
zip
|
|
|
-
|
|
|
-RUN sed --in-place '/^PidFile /d' /etc/apache2/apache2.conf
|
|
|
-RUN find /etc/apache2/sites-enabled -name '*.conf' -delete
|
|
|
-RUN echo >/etc/apache2/ports.conf
|
|
|
RUN a2enmod headers rewrite
|
|
|
-
|
|
|
-COPY ./apache2-koel.conf /etc/apache2/
|
|
|
-RUN echo "Include /etc/apache2/apache2-koel.conf" >>/etc/apache2/apache2.conf
|
|
|
+RUN a2disconf other-vhosts-access-log
|
|
|
+COPY ./apache2.conf /etc/apache2/apache2.conf
|
|
|
EXPOSE 8080
|
|
|
COPY --from=js-build /koel /koel
|
|
|
WORKDIR /koel
|