changes to dockerfile & gitignore
This commit is contained in:
parent
bb70a96858
commit
c96e268d7a
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
Cargo.lock
|
Cargo.lock
|
||||||
.env
|
.env
|
||||||
/deploy-scripts
|
/deploy-scripts
|
||||||
|
/deploy
|
@ -6,6 +6,3 @@ 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"]
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user