From d98effd0de1493a4e6894ce72503c5fad38a27e9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 2 Mar 2023 14:10:24 +0100 Subject: pin Python version --- docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docker/Dockerfile') 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 " -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" -- cgit v1.2.3