Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (13 sloc) 809 Bytes
# Start from an apache httpd image
FROM httpd:2.4
# Set default directory
WORKDIR /usr/src/app
# Download the dispatcher from adobe's page
ADD ./dispatcher/
# Unzip and copy the module into apache's modules folder
RUN tar -xzvf ./dispatcher/dispatcher-apache2.4-linux-x86-64-4.2.3.tar.gz -C ./dispatcher && \
cp ./dispatcher/ /usr/local/apache2/modules/
# Copy a default dispatcher configuration
ADD dispatcher.any /usr/local/apache2/conf/dispatcher.any
# Replace the httpd.conf file with one that already has the dispatcher configured
COPY httpd.conf /usr/local/apache2/conf/httpd.conf
You can’t perform that action at this time.