forked from kiswa/TaskBoard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kiswa#279 from jersou/dev
update Dockerfile to match installation guide
- Loading branch information
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ FROM ubuntu:trusty | |
MAINTAINER Alex van den Hoogen <[email protected]> | ||
|
||
RUN apt-get update && \ | ||
apt-get install -yq --no-install-recommends git wget nginx php5-fpm php5-sqlite sqlite3 ca-certificates pwgen && \ | ||
apt-get install -yq --no-install-recommends git wget nginx php5-fpm php5-sqlite sqlite3 ca-certificates pwgen php5-cli && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
|
@@ -15,8 +15,11 @@ RUN echo "cgi.fix_pathinfo = 0;" >> /etc/php5/fpm/php.ini && \ | |
RUN git clone https://github.com/kiswa/TaskBoard.git /var/www && \ | ||
chmod 777 $(find /var/www -type d) | ||
|
||
RUN cd /var/www/ && ./build/composer.phar install | ||
|
||
ADD nginx.conf /etc/nginx/sites-available/default | ||
|
||
EXPOSE 80 | ||
|
||
CMD service php5-fpm start && nginx | ||
CMD service php5-fpm start && nginx | ||
|