diff --git a/Dockerfile b/Dockerfile index b1b92cb..8c90b81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ - FROM rust as builder ENV PKG_CONFIG_ALLOW_CROSS 1 WORKDIR /usr/src/openlab-rest COPY . . RUN cargo install --path . + FROM debian COPY /usr/local/cargo/bin/openlab-rest /usr/local/bin/openlab-rest CMD ["openlab-rest"]