sso/Dockerfile

11 lines
295 B
Docker
Raw Normal View History

2022-08-22 14:19:14 +05:30
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/