- Sweden
-
Also avaiable at https://github.com/TheLovinator1/
- Joined on
2025-04-06
Block a user
anewdawn (master)
Installation
docker pull git.lovinator.space/thelovinator/anewdawn:master
sha256:3363d26a0b69a63dd4bcf90a6b03294ab69a2889a531e095fb0e9d6dc0d32b65
Images
Digest | OS / Arch | Size |
---|---|---|
e5647667be | linux/amd64 | 92 MiB |
f9426c2a93 | linux/arm64 | 92 MiB |
Image Layers ( linux/arm64)
ADD alpine-minirootfs-3.20.6-x86_64.tar.gz / # buildkit |
CMD ["/bin/sh"] |
COPY /usr/share/fonts /usr/share/fonts # buildkit |
COPY /usr/share/fontconfig /usr/share/fontconfig # buildkit |
COPY /usr/local /usr/local # buildkit |
COPY /tmp/fakeroot/ / # buildkit |
LABEL org.opencontainers.image.authors=julien@rottenberg.info org.opencontainers.image.source=https://github.com/jrottenberg/ffmpeg |
ENV LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64 |
CMD ["--help"] |
ENTRYPOINT ["/bin/ffmpeg"] |
COPY /uv /uvx /bin/ # buildkit |
ENV PYTHONUNBUFFERED=1 |
ENV PYTHONDONTWRITEBYTECODE=1 |
ENV UV_COMPILE_BYTECODE=1 |
ENV UV_LINK_MODE=copy |
ENV UV_NO_CACHE=1 |
RUN /bin/sh -c apk add --no-cache shadow python3 && useradd --create-home botuser && mkdir /Uploads && chown botuser:botuser /Uploads # buildkit |
USER botuser |
WORKDIR /app |
ADD --chown=botuser:botuser discord_embed /app/discord_embed # buildkit |
RUN /bin/sh -c uv sync --no-install-project --no-dev # buildkit |
VOLUME [/Uploads] |
EXPOSE map[5000/tcp:{}] |
CMD ["uv" "run" "uvicorn" "discord_embed.main:app" "--host" "0.0.0.0" "--port" "5000" "--use-colors" "--proxy-headers" "--forwarded-allow-ips" "*" "--log-level" "debug"] |
Labels
Key | Value |
---|---|
org.opencontainers.image.authors | julien@rottenberg.info |
org.opencontainers.image.created | 2025-04-16T21:01:49.163Z |
org.opencontainers.image.description | Discord will only create embeds for videos and images if they are smaller than 10MiB. We can "abuse" this by using the twitter:image HTML meta tag. |
org.opencontainers.image.licenses | |
org.opencontainers.image.revision | ee41b64af09ba87337e4dce0fdcf69e3bbd847cb |
org.opencontainers.image.source | https://git.lovinator.space/TheLovinator/discord-embed |
org.opencontainers.image.title | discord-embed |
org.opencontainers.image.url | https://git.lovinator.space/TheLovinator/discord-embed |
org.opencontainers.image.version | latest |
Details
Versions (2)
View all