Add CI
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
Daan Boerlage 2023-11-18 18:17:50 +01:00
parent 5b0f728fce
commit e995017629
Signed by: daan
GPG key ID: FCE070E1E4956606
2 changed files with 38 additions and 0 deletions

13
Dockerfile Normal file
View file

@ -0,0 +1,13 @@
FROM scratch
COPY ${CI_WORKSPACE}/target/release/sleutel /bootstrap
ENV OTEL_SERVICE_NAME=sleutel
ENV OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
ENV OTEL_EXPORTER_OTLP_PROTOCOL=grpc
ENV OTEL_TRACES_SAMPLER=always_on
ENV axum_tracing_opentelemetry=info
EXPOSE 3030
CMD ["/bootstrap"]