Files
Modrinth-plus/apps/labrinth/Dockerfile

21 lines
595 B
Docker
Raw Normal View History

# syntax=docker/dockerfile:1
FROM debian:trixie-slim
2024-10-18 17:00:36 -07:00
LABEL org.opencontainers.image.source=https://github.com/modrinth/code
LABEL org.opencontainers.image.title=labrinth
2024-10-18 17:00:36 -07:00
LABEL org.opencontainers.image.description="Modrinth API"
LABEL org.opencontainers.image.licenses=AGPL-3.0-only
2024-10-18 17:00:36 -07:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates dumb-init curl \
&& rm -rf /var/lib/apt/lists/*
COPY labrinth /labrinth/labrinth
COPY migrations /labrinth/migrations
COPY assets /labrinth/assets
2020-08-28 20:24:43 +02:00
WORKDIR /labrinth
2025-03-06 00:40:27 +01:00
ENTRYPOINT ["dumb-init", "--"]
CMD ["/labrinth/labrinth"]