mirror of
https://codeberg.org/icewind/log-archiver.git
synced 2026-06-03 17:44:06 +02:00
fix dockerfile
This commit is contained in:
parent
3b1c0e42b1
commit
29ea9f2721
1 changed files with 3 additions and 2 deletions
|
|
@ -10,7 +10,8 @@ RUN mkdir src && \
|
|||
|
||||
COPY src/ ./src/
|
||||
COPY sqlx-data.json ./
|
||||
RUN sudo chown -R rust:rust .
|
||||
RUN sudo chown -R rust:rust . && \
|
||||
touch src/main.rs
|
||||
|
||||
RUN cargo build --release
|
||||
|
||||
|
|
@ -18,4 +19,4 @@ FROM scratch
|
|||
|
||||
COPY --from=build /home/rust/src/target/x86_64-unknown-linux-musl/release/log-archiver /
|
||||
|
||||
CMD ["/log-archiver"]
|
||||
CMD ["/log-archiver"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue