Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <[email protected]>
  • Loading branch information
Zoey2936 authored Oct 9, 2024
1 parent 00b64f7 commit 617b991
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# syntax=docker/dockerfile:labs
FROM --platform="$BUILDPLATFORM" python:3.13.0-alpine3.20 AS build
ENV PYTHONUNBUFFERED=1
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
ARG PT_VERSION=v6.3.2 \
TARGETARCH
Expand Down Expand Up @@ -39,6 +40,7 @@ RUN apk upgrade --no-cache -a && \
find /app/node_modules -name "*.node" -type f -exec file {} \;

FROM python:3.13.0-alpine3.20
ENV PYTHONUNBUFFERED=1
COPY --chown=1000:1000 --from=strip /app /app
WORKDIR /app
RUN apk add --no-cache ca-certificates tzdata tini su-exec nodejs yarn ffmpeg shadow && \
Expand Down

0 comments on commit 617b991

Please sign in to comment.