sso/Dockerfile

10 lines
295 B
Docker

FROM python:3
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
RUN useradd -ms /bin/bash -u 1001 mystiq-sso
USER mystiq-sso
WORKDIR /code
LABEL org.opencontainers.image.source https://git.batsense.net/mystiq/sso
COPY requirements.txt /code/
RUN pip install -r requirements.txt
COPY . /code/