automation_rs/Dockerfile
Dreaded_X 5ead3c1e7b
Some checks failed
Build and deploy automation_rs / Build (push) Successful in 4m9s
Build and deploy automation_rs / Create Docker container (push) Failing after 53s
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.
2023-11-21 23:50:35 +01:00

11 lines
213 B
Docker

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