From: Dessalines Date: Wed, 10 Apr 2019 04:45:10 +0000 (-0700) Subject: Fix to dockerfile X-Git-Url: http://these/git/?a=commitdiff_plain;h=42939df0406028af1a0f49e6f44f529a4cf9ecba;p=lemmy.git Fix to dockerfile --- 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