19 lines
329 B
Docker
19 lines
329 B
Docker
# SPDX-FileCopyrightText: 2021 WTF Kooperative eG <https://wtf-eg.de/>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
FROM python:3.9.18-alpine as base
|
|
|
|
ENV PYROOT /pyroot
|
|
ENV PYTHONUSERBASE $PYROOT
|
|
|
|
|
|
FROM base as builder
|
|
|
|
RUN apk add --no-cache \
|
|
gcc \
|
|
g++ \
|
|
musl-dev \
|
|
python3-dev && \
|
|
pip3 install pipenv
|