| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=26.04 |
| ADD file:5a3b3d88836037412b2e65304a34ae9b8902e2e18f2142a9d7bd31359c280c79 in / |
| CMD ["/bin/bash"] |
| WORKDIR /app |
| VOLUME [/app/data] |
| VOLUME [/app/public] |
| VOLUME [/app/translations] |
| RUN /bin/sh -c apt update && apt install -y pkg-config openssl libssl-dev ca-certificates curl xz-utils # buildkit |
| RUN /bin/sh -c update-ca-certificates --fresh # buildkit |
| ENV SSL_CERT_DIR=/etc/ssl/certs |
| COPY /app/static/ /app/static/ # buildkit |
| COPY /app/templates/ /app/templates/ # buildkit |
| COPY /app/docs/ /app/docs/ # buildkit |
| COPY /app/migrations/ /app/migrations/ # buildkit |
| COPY /app/.env.template /app/ # buildkit |
| COPY /app/Rocket.toml /app/ # buildkit |
| COPY /app/diesel.sqlite.toml /app/ # buildkit |
| COPY /app/diesel.mysql.toml /app/ # buildkit |
| COPY /app/diesel.postgres.toml /app/ # buildkit |
| COPY /app/README.md /app/ # buildkit |
| COPY /app/LICENSE /app/ # buildkit |
| COPY /app/target/release/kinesis-api /app/ # buildkit |
| COPY entrypoint.sh /entrypoint.sh # buildkit |
| RUN /bin/sh -c chmod +x /entrypoint.sh # buildkit |
| EXPOSE [8080/tcp] |
| ENTRYPOINT ["/entrypoint.sh"] |