diff options
author | Frédéric Guillot <fred@kanboard.net> | 2019-02-27 15:13:49 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2019-02-27 17:50:18 -0800 |
commit | 6d2b2f4a793fe6f9321fa5ed164af1fd3520e01b (patch) | |
tree | e3eef95cd2979946e0f27ca9cbcc8ab57b061c3c /Dockerfile | |
parent | 4a400951226da20f05472504a5e992981298734e (diff) |
Simplify local Docker image build
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -17,15 +17,10 @@ RUN apk update && \ rm -rf /var/www/localhost && \ rm -f /etc/php7/php-fpm.d/www.conf -RUN cd /tmp \ - && curl -sL -o kb.zip https://github.com/kanboard/kanboard/archive/$VERSION.zip \ - && unzip -qq kb.zip \ - && cd kanboard-* \ - && cp -R . /var/www/app \ - && cd /tmp \ - && rm -rf /tmp/kanboard-* /tmp/*.zip - +ADD . /var/www/app ADD docker/ / +RUN rm -rf /var/www/app/docker && echo $VERSION > /version.txt + ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] CMD [] |