summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 84f16e4..0126c01 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,12 +13,13 @@ WORKDIR /var/www/planet.gentoo.org
USER gplanet
-CMD bundle install \
+RUN bundle install \
&& npm install \
&& cd node_modules/@gentoo/tyrian \
&& npm install \
- && npm run dist \
- && cd /var/www/planet.gentoo.org \
+ && npm run dist
+
+CMD cd /var/www/planet.gentoo.org \
&& rm -rf build/* \
&& bundle exec pluto update -d data \
&& bundle exec pluto build -o build -d data -t tyrian