We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3090c0d commit cf5e323Copy full SHA for cf5e323
Dockerfile
@@ -3,9 +3,9 @@ ARG PYTHON_VERSION=3.8
3
FROM jrottenberg/ffmpeg:4.2-scratch as ffmpeg
4
5
# Builder
6
-FROM python:${PYTHON_VERSION}-slim as builder
+FROM python:${PYTHON_VERSION}-alpine as builder
7
8
-RUN apt-get update && apt-get install -y --no-install-recommends git
+RUN apk add --update curl git build-base libffi-dev
9
10
WORKDIR /root
11
@@ -14,7 +14,7 @@ COPY requirements.txt /root
14
RUN pip install --prefix="/install" --no-warn-script-location -r requirements.txt
15
16
# Runtime
17
-FROM python:${PYTHON_VERSION}-slim
+FROM python:${PYTHON_VERSION}-alpine
18
19
# Keeps Python from generating .pyc files in the container
20
ENV PYTHONDONTWRITEBYTECODE=1
0 commit comments