Updated dockerfile
This commit is contained in:
parent
57f88e5101
commit
8c1b0d028d
@ -2,8 +2,12 @@ FROM rust:1.31
|
||||
|
||||
WORKDIR /usr/src/user-svc
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
COPY ./target/release/user-svc-actix .
|
||||
|
||||
RUN rm -r `ls | grep -v "user-svc-actix"`
|
||||
|
||||
CMD ["user-svc-actix"]
|
Loading…
Reference in New Issue
Block a user