summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorDessalines <happydooby@gmail.com>2019-04-09 21:45:10 -0700
committerDessalines <happydooby@gmail.com>2019-04-09 21:45:10 -0700
commitcbd1d67fea1d012830784594da6c0c210b68bd7b (patch)
tree501b6a77be4f9c0e02423b0b632d924c553e0137 /Dockerfile
parentfdba88ac51f080a822be28a5b8026b43e1664202 (diff)
Fix to dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index b4478d19..3e4468dd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,9 @@
FROM node:10-jessie as node
#If encounter Invalid cross-device error -run on host 'echo N | sudo tee /sys/module/overlay/parameters/metacopy'
COPY ui /app/ui
-RUN cd /app/ui && yarn && yarn build
+WORKDIR /app/ui
+RUN yarn
+RUN yarn build
FROM rust:1.33 as rust
COPY server /app/server