Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM php:5.6-apache
MAINTAINER [email protected]

ENV BOOKSTACK BookStack
ENV BOOKSTACK_VERSION 0.9.2
ENV BOOKSTACK_VERSION 0.12.1

RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev wget \
&& docker-php-ext-install pdo pdo_mysql mbstring zip \
Expand All @@ -18,11 +18,14 @@ RUN apt-get update && apt-get install -y git zlib1g-dev libfreetype6-dev libjpeg
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN rm -f /etc/apache2/sites-enabled/000-default.conf
COPY bookstack.conf /etc/apache2/sites-enabled/bookstack.conf
RUN a2enmod rewrite

COPY docker-entrypoint.sh /

VOLUME ["/var/www/BookStack/public/uploads"]

EXPOSE 80

ENTRYPOINT ["/docker-entrypoint.sh"]
1 change: 0 additions & 1 deletion bookstack.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<VirtualHost *:80>
ServerName bookstack.dev
DocumentRoot "/var/www/BookStack/public/"

<Directory "/var/www/BookStack/">
Expand Down