mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-28 16:37:44 +00:00
Fix to dockerfile
This commit is contained in:
parent
f1bd0b50ea
commit
42939df040
|
@ -1,7 +1,9 @@
|
||||||
FROM node:10-jessie as node
|
FROM node:10-jessie as node
|
||||||
#If encounter Invalid cross-device error -run on host 'echo N | sudo tee /sys/module/overlay/parameters/metacopy'
|
#If encounter Invalid cross-device error -run on host 'echo N | sudo tee /sys/module/overlay/parameters/metacopy'
|
||||||
COPY ui /app/ui
|
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
|
FROM rust:1.33 as rust
|
||||||
COPY server /app/server
|
COPY server /app/server
|
||||||
|
|
Loading…
Reference in a new issue