Skip to content

Commit cdd65cb

Browse files
committed
fix: Dockerfile should allow for version arg
1 parent 218be7d commit cdd65cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#---------------------------------------------------------------------------------------------
44

55
# Build with builder image to reduce image size
6+
ARG APE_VERSION
67
FROM python:3.11 as builder
78
USER root
89
WORKDIR /wheels
@@ -13,7 +14,7 @@ RUN pip install --upgrade pip && pip install wheel
1314
RUN pip wheel . --wheel-dir=/wheels
1415

1516
# Install from wheels
16-
FROM ghcr.io/apeworx/ape:latest-slim
17+
FROM ghcr.io/apeworx/ape:${APE_VERSION:-latest-slim}
1718
USER root
1819
COPY --from=builder /wheels /wheels
1920
RUN pip install --upgrade pip \

0 commit comments

Comments
 (0)