aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 14:10:24 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-02 14:10:24 +0100
commitd98effd0de1493a4e6894ce72503c5fad38a27e9 (patch)
tree3e4fadd4db4eb2898b5a1de2e5b0167ac6405910 /docker
parentrequirements.txt: bump dependencies (diff)
downloadcgitize-d98effd0de1493a4e6894ce72503c5fad38a27e9.tar.gz
cgitize-d98effd0de1493a4e6894ce72503c5fad38a27e9.zip
pin Python version
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile6
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"