diff options
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r-- | docker/Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 2f14976..39b9ce6 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,8 +1,8 @@ -FROM alpine:3.17 AS base +FROM python:3.10-alpine AS base FROM base AS build -RUN apk add -q --no-cache gcc libffi-dev make musl-dev python3-dev py3-pip +RUN apk add -q --no-cache gcc libffi-dev make musl-dev COPY ["requirements.txt", "/tmp/"] RUN pip3 install -q --no-cache-dir --target=/deps -r /tmp/requirements.txt @@ -11,7 +11,7 @@ FROM base LABEL maintainer="Egor Tensin <Egor.Tensin@gmail.com>" -RUN apk add -q --no-cache bash git openssh-client python3 tini +RUN apk add -q --no-cache bash git openssh-client tini COPY --from=build ["/deps", "/deps/"] ENV PYTHONPATH="/deps:/usr/src" |