From cbd1d67fea1d012830784594da6c0c210b68bd7b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 9 Apr 2019 21:45:10 -0700 Subject: [PATCH] Fix to dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b4478d1..3e4468d 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