• Joined on 2026-05-28

thesis-review-backend (d29c751a3e11d95589655ada10915237a8cfd8c0)

Published 2026-07-02 13:16:16 +08:00 by gqt

Installation

docker pull git.gqt.plus/gqt/thesis-review-backend:d29c751a3e11d95589655ada10915237a8cfd8c0
sha256:34d1de2b194900174feaa16d9519b846cabc81c549f39b1bb757e553477982f6

Image Layers

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:46ac5b8ee4c64ad9ebe840abd5619f571a617ac19483764d47d0eeba7907934f in /
CMD ["/bin/bash"]
ENV DEBIAN_FRONTEND=noninteractive
ENV PATH=/root/.local/bin:/opt/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PYTHONUNBUFFERED=1
ENV UV_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
/bin/sh -c set -eux; find /etc/apt -type f \( -name 'sources.list' -o -name '*.sources' \) -exec sed -i -e 's|http://ports.ubuntu.com/ubuntu-ports|http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports|g' -e 's|http://archive.ubuntu.com/ubuntu|http://mirrors.tuna.tsinghua.edu.cn/ubuntu|g' -e 's|http://security.ubuntu.com/ubuntu|http://mirrors.tuna.tsinghua.edu.cn/ubuntu|g' {} +; printf '%s\n' 'Acquire::Retries "5";' 'Acquire::http::Timeout "30";' 'Acquire::https::Timeout "30";' > /etc/apt/apt.conf.d/80-retries; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl python3 python3-venv; rm -rf /var/lib/apt/lists/*
/bin/sh -c curl -LsSf https://astral.sh/uv/install.sh | sh
WORKDIR /app
COPY multi:91895c1b1f7947c7ddfc5c9dca480eb7ed9a0efb87097152552ff10e0749e36a in ./
/bin/sh -c uv venv --python 3.12 /opt/venv && UV_PROJECT_ENVIRONMENT=/opt/venv uv sync --frozen --no-dev
COPY file:5cd2cd2368c9aff0f27a53e86f0acb452a4d4b98df29ad17f1f740300df00118 in ./
COPY dir:87ade78d12f048c54f7a9fd4128eec972b51819eaacbfd48446981385a20fd8a in ./apps
COPY dir:d9112304b6479be6a5e77984b616479510e297325e26f7a0f4f32540e5a7010e in ./config
/bin/sh -c mkdir -p /app/data /app/media /app/staticfiles
EXPOSE 8000
CMD ["gunicorn" "config.wsgi:application" "--bind" "0.0.0.0:8000" "--workers" "3" "--timeout" "300"]

Labels

Key Value
org.opencontainers.image.version 24.04
Details
Container
2026-07-02 13:16:16 +08:00
0
OCI / Docker
linux/amd64
111 MiB
Versions (21) View all