Signed-off-by: Edoardo Giaquinto <edoardo@giaquo.com>
This commit is contained in:
Edoardo Giaquinto 2024-10-01 18:57:47 +02:00
Родитель 4a81d4eaa5
Коммит 43e6655a6f
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -18,10 +18,12 @@ RUN touch src/main.rs
RUN cargo build --release
# Pick the executable file for the right architecture and system
RUN mv /volume/target/*-unknown-*-musl/release/notify_push /notify_push
FROM scratch
COPY --from=build /volume/target/x86_64-unknown-linux-musl/release/notify_push /
COPY --from=build /notify_push /
EXPOSE 7867
CMD ["/notify_push"]