ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=24.04 |
ADD file:154285ca3d49a142bc6d59c9d48f14546f32b2d6de94387c30c1ba3759249b0f in / |
CMD ["/bin/bash"] |
ENV HOST=0.0.0.0 |
EXPOSE map[5443/tcp:{}] |
RUN /bin/sh -c apt update && apt install curl libpq-dev clang llvm pkg-config nettle-dev libc6-dev libssl-dev -y # buildkit |
COPY ./target/release/hoodik /usr/local/bin # buildkit |
ENV DATA_DIR=/data |
ENV RUST_LOG=hoodik=debug,auth=debug,error=debug,entity=debug,storage=debug,context=debug,util=debug,cryptfns=debug,actix_web=debug |
CMD ["/bin/sh" "-c" "/usr/local/bin/hoodik -a 0.0.0.0 -p 5443"] |