Skip to content

Commit

Permalink
docker相关文件放docker目录
Browse files Browse the repository at this point in the history
  • Loading branch information
littlehz committed May 15, 2016
1 parent e575c30 commit 92cfa1e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ RUN docker-php-ext-install bcmath intl mbstring mcrypt mysqli opcache pdo_mysql
RUN a2enmod rewrite

COPY ./ /opt/walle-web
COPY php.ini /usr/local/etc/php/conf.d/walle-web.ini
COPY apache2.conf /etc/apache2/apache2.conf
COPY entrypoint.sh /entrypoint.sh
COPY docker/php.ini /usr/local/etc/php/conf.d/walle-web.ini
COPY docker/apache2.conf /etc/apache2/apache2.conf
COPY docker/entrypoint.sh /entrypoint.sh

WORKDIR /opt/walle-web
RUN curl -sS https://getcomposer.org/installer | php \
Expand Down
File renamed without changes.
6 changes: 6 additions & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -e

/opt/walle-web/yii walle/setup --interactive=0

exec $@
File renamed without changes.
6 changes: 0 additions & 6 deletions entrypoint.sh

This file was deleted.

0 comments on commit 92cfa1e

Please sign in to comment.