mirror of
https://github.com/Xevion/time-banner.git
synced 2025-12-05 23:16:35 -06:00
Add ignores, fix dep caching self purging
This commit is contained in:
10
.dockerignore
Normal file
10
.dockerignore
Normal file
@@ -0,0 +1,10 @@
|
||||
### Rust template
|
||||
# Generated by Cargo
|
||||
# will have compiled files and executables
|
||||
debug/
|
||||
target/
|
||||
|
||||
# These are backup files generated by rustfmt
|
||||
**/*.rs.bk
|
||||
|
||||
.idea/
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/target
|
||||
.idea
|
||||
.idea
|
||||
.env
|
||||
@@ -11,7 +11,7 @@ RUN cargo build --release
|
||||
# Build web app with own code
|
||||
RUN rm src/*.rs
|
||||
ADD . ./
|
||||
RUN rm ./target/release/deps/time-banner*
|
||||
RUN rm ./target/release/deps/time_banner*
|
||||
RUN cargo build --release
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user