changes to dockerfile & gitignore

This commit is contained in:
franklinblanco 2022-07-13 12:52:39 -04:00
parent bb70a96858
commit c96e268d7a
3 changed files with 4 additions and 6 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
/target /target
Cargo.lock Cargo.lock
.env .env
/deploy-scripts /deploy-scripts
/deploy

View File

@ -5,7 +5,4 @@ FROM rust:1.62
COPY ./ ./ COPY ./ ./
# Build your program for release # Build your program for release
RUN cargo build --release RUN cargo build --release
# Run the binary
CMD ["./target/release/user-svc-actix"]

View File

@ -1,2 +1,2 @@
cargo build --release cargo build --release
cp target/release/user-svc-actix . cp target/release/user-svc-actix /deploy/user-svc-actix