ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=24.04 |
ADD file:bcebbf0fddcba5b864d5d267b68dd23bcfb01275e6ec7bcab69bf8b56af14804 in / |
CMD ["/bin/bash"] |
RUN /bin/sh -c apt update -y -qq && apt install -y -qq wget ffmpeg ca-certificates tzdata && mkdir /app && mkdir /app/templates && mkdir /app/temp && mkdir /app/graphs && mkdir /app/fonts # buildkit |
COPY /src/cmd/mort/mort /app/mort # buildkit |
COPY /go/bin/playwright /app/playwright # buildkit |
COPY /src/cmd/mort/fonts/Roboto-Regular.ttf /app/fonts/Roboto-Regular.ttf # buildkit |
COPY go.mod /src/go.mod # buildkit |
COPY cmd/mort/templates/* /app/templates # buildkit |
COPY cmd/mort/reenc.sh /app/reenc.sh # buildkit |
RUN /bin/sh -c chmod +x /app/reenc.sh && chmod +x /app/mort && chmod +x /app/playwright && /app/playwright install --with-deps && rm -rf /var/lib/apt/lists/* # buildkit |
WORKDIR /app |
CMD ["/app/mort"] |