summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2019-02-27 15:13:49 -0800
committerFrédéric Guillot <fred@kanboard.net>2019-02-27 17:50:18 -0800
commit6d2b2f4a793fe6f9321fa5ed164af1fd3520e01b (patch)
treee3eef95cd2979946e0f27ca9cbcc8ab57b061c3c /Dockerfile
parent4a400951226da20f05472504a5e992981298734e (diff)
Simplify local Docker image build
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile11
1 files changed, 3 insertions, 8 deletions
diff --git a/Dockerfile b/Dockerfile
index 1da18a71..061dc4e7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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 []