ungleich-user/Dockerfile
2021-12-05 18:14:32 +01:00

18 lines
365 B
Docker

FROM python:3.10.0-alpine3.15
RUN apk add --update --no-cache\
build-base jpeg-dev zlib-dev libjpeg\
gettext\
py3-lxml\
openldap-dev\
python3-dev\
&& rm -rf /var/cache/apk/*
RUN echo 'INPUT ( libldap.so )' > /usr/lib/libldap_r.so
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .