Fix to dockerfile
This commit is contained in:
parent
655e84a87f
commit
85a7e2a8c9
|
@ -1,12 +1,14 @@
|
|||
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 server/ui /app/server/ui
|
||||
RUN cd /app/server/ui && yarn && yarn build
|
||||
WORKDIR /app/server/ui
|
||||
RUN yarn
|
||||
RUN yarn build
|
||||
|
||||
FROM rust:1.33 as rust
|
||||
COPY server/service /app/server/service
|
||||
WORKDIR /app/server/service
|
||||
RUN cd /app/server/service && cargo build --release
|
||||
RUN cargo build --release
|
||||
|
||||
FROM debian:jessie-slim as volume
|
||||
COPY torrents.csv /db/
|
||||
|
|
Loading…
Reference in New Issue