This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/base.Dockerfile

16 lines
457 B
Docker
Raw Permalink Normal View History

FROM python:3.7-alpine
2019-09-10 15:00:13 +00:00
COPY ./Pipfile /app/
COPY ./Pipfile.lock /app/
WORKDIR /app/
RUN apk update && \
apk add --no-cache openssl-dev build-base libxml2-dev libxslt-dev libffi-dev gcc musl-dev libgcc zlib-dev postgresql-dev && \
pip install pipenv --no-cache-dir && \
2019-09-10 15:00:13 +00:00
pipenv lock -r > requirements.txt && \
pipenv --rm && \
2019-09-10 15:00:13 +00:00
pip install -r requirements.txt --no-cache-dir && \
adduser -S passbook && \
chown -R passbook /app