change dockerfile to copy the source files from local version rather than pulling from github
This commit is contained in:
parent
f7b3bbd8e9
commit
1dce89b4f8
@ -3,7 +3,7 @@ MAINTAINER Frederic Guillot <fred@miniflux.net>
|
|||||||
|
|
||||||
RUN apt-get update && apt-get install -y apache2 php5 php5-sqlite git && apt-get clean && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y apache2 php5 php5-sqlite git && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
|
||||||
RUN cd /var/www && git clone --depth 1 https://github.com/miniflux/miniflux.git
|
COPY . /var/www/miniflux
|
||||||
RUN rm -rf /var/www/html && mv /var/www/miniflux /var/www/html
|
RUN rm -rf /var/www/html && mv /var/www/miniflux /var/www/html
|
||||||
RUN chown -R www-data:www-data /var/www/html/data
|
RUN chown -R www-data:www-data /var/www/html/data
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user