This repository has been archived on 2024-09-10. You can view files and clone it, but cannot push or open issues or pull requests.
ki-backend-docker/Dockerfile

19 lines
329 B
Docker
Raw Permalink Normal View History

2021-07-26 22:34:12 +02:00
# SPDX-FileCopyrightText: 2021 WTF Kooperative eG <https://wtf-eg.de/>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
2023-12-04 19:33:32 +01:00
FROM python:3.8.18-alpine as base
2021-06-27 16:05:39 +02:00
ENV PYROOT /pyroot
ENV PYTHONUSERBASE $PYROOT
2021-06-27 16:21:20 +02:00
FROM base as builder
2021-06-27 16:05:39 +02:00
RUN apk add --no-cache \
gcc \
g++ \
musl-dev \
python3-dev && \
pip3 install pipenv