Merge pull request #2 from weissdanny/patch-2

Update Dockerfile
This commit is contained in:
Grzegorz Adam Kowalski 2019-03-14 10:22:11 +01:00 committed by GitHub
commit 18066e910f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,8 @@ RUN chown renderer /var/run/renderd
RUN echo "LoadModule tile_module /usr/lib/apache2/modules/mod_tile.so" >> /etc/apache2/conf-available/mod_tile.conf RUN echo "LoadModule tile_module /usr/lib/apache2/modules/mod_tile.so" >> /etc/apache2/conf-available/mod_tile.conf
RUN a2enconf mod_tile RUN a2enconf mod_tile
COPY apache.conf /etc/apache2/sites-available/000-default.conf COPY apache.conf /etc/apache2/sites-available/000-default.conf
COPY leaflet-demo.html /var/www/html/index.html
USER renderer USER renderer
# Install PostgreSQL # Install PostgreSQL
@ -95,4 +97,4 @@ USER root
RUN apt-get install -y sudo RUN apt-get install -y sudo
COPY run.sh / COPY run.sh /
ENTRYPOINT ["/run.sh"] ENTRYPOINT ["/run.sh"]
CMD [] CMD []