diff --git a/.dockerignore b/.dockerignore index 68bc17f..632535f 100644 --- a/.dockerignore +++ b/.dockerignore @@ -158,3 +158,6 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ + +sso/local_settings.py +sso/local_settings/local_settings.py diff --git a/Dockerfile b/Dockerfile index c6cae4c..df9598c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ FROM python:3 ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 -RUN useradd -ms /bin/bash -u 1001 mystiq-sso -USER mystiq-sso +#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/ diff --git a/docker-compose.yml b/docker-compose.yml index 4df104e..8751547 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,7 +17,7 @@ services: python manage.py migrate && python manage.py runserver 0.0.0.0:8000" volumes: - - .:/code + - ./sso/local_settings:/code/sso/local_settings/ ports: - 8000:8000 # environment: