changes to dockerfile & gitignore
This commit is contained in:
parent
bb70a96858
commit
c96e268d7a
|
@ -1,4 +1,5 @@
|
|||
/target
|
||||
Cargo.lock
|
||||
.env
|
||||
/deploy-scripts
|
||||
/deploy-scripts
|
||||
/deploy
|
|
@ -5,7 +5,4 @@ FROM rust:1.62
|
|||
COPY ./ ./
|
||||
|
||||
# Build your program for release
|
||||
RUN cargo build --release
|
||||
|
||||
# Run the binary
|
||||
CMD ["./target/release/user-svc-actix"]
|
||||
RUN cargo build --release
|
|
@ -1,2 +1,2 @@
|
|||
cargo build --release
|
||||
cp target/release/user-svc-actix .
|
||||
cp target/release/user-svc-actix /deploy/user-svc-actix
|
Loading…
Reference in New Issue