Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonggan committed Feb 20, 2024
1 parent 037f5eb commit 386aabe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit 386aabe

Please sign in to comment.