automation_rs/Dockerfile
Dreaded_X 98c3007193
All checks were successful
Build and deploy automation_rs / Build (push) Successful in 3m59s
Build and deploy automation_rs / Create Docker container (push) Successful in 1m38s
Feature: Use Gitea Actions to build automation_rs
Builds automation_rs and the corresponding docker image.
The binary is uploaded as an artifact and the image is uploaded to the
registry.

In order to improve caching the nightly version is locked using
rust-toolchain.toml
2023-11-22 00:30:14 +01:00

9 lines
189 B
Docker

FROM gcr.io/distroless/cc-debian12:nonroot
ENV AUTOMATION_CONFIG=/app/config.yml
COPY ./config/config.yml /app/config.yml
COPY ./build/automation /app/automation
CMD ["/app/automation"]