From 6a2fe11753d2af58e4a1bccbe894ba49fc8e005a Mon Sep 17 00:00:00 2001 From: passthem Date: Wed, 18 Mar 2026 17:29:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=86=8D=E7=9B=B4=E6=8E=A5=E5=9C=A8?= =?UTF-8?q?=20Dockerfile=20=E9=87=8C=E9=9D=A2=E4=B8=8B=E8=BD=BD=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E4=BA=A7=E7=89=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index ea01981..9fe869f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,3 @@ -FROM alpine:latest AS artifacts - -RUN apk add --no-cache curl xz -WORKDIR /tmp - -RUN mkdir -p /artifacts -RUN curl -L -o typst.tar.xz "https://github.com/typst/typst/releases/download/v0.14.2/typst-x86_64-unknown-linux-musl.tar.xz" \ - && tar -xJf typst.tar.xz \ - && mv typst-x86_64-unknown-linux-musl/typst /artifacts - -RUN chmod -R +x /artifacts/ - - FROM python:3.13-slim AS base ENV VIRTUAL_ENV=/app/.venv \ @@ -51,7 +38,6 @@ RUN uv sync --no-install-project FROM base AS runtime COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV} -COPY --from=artifacts /artifacts/ /usr/local/bin/ WORKDIR /app