diff --git a/Dockerfile b/Dockerfile index f196318..bc3f927 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,12 +35,12 @@ COPY ./tubearchivist/requirements.txt /requirements.txt RUN pip install --no-cache-dir -r requirements.txt --src /usr/local/src # copy config files -COPY nginx.conf /etc/nginx/conf.d/ +COPY docker_assets/nginx.conf /etc/nginx/conf.d/ # copy application into container COPY ./tubearchivist /app -COPY ./run.sh /app -COPY ./uwsgi.ini /app +COPY ./docker_assets/run.sh /app +COPY ./docker_assets/uwsgi.ini /app # volumes VOLUME /cache diff --git a/nginx.conf b/docker_assets/nginx.conf similarity index 100% rename from nginx.conf rename to docker_assets/nginx.conf diff --git a/run.sh b/docker_assets/run.sh similarity index 95% rename from run.sh rename to docker_assets/run.sh index 7f25cc9..235f823 100644 --- a/run.sh +++ b/docker_assets/run.sh @@ -2,9 +2,9 @@ # startup script inside the container for tubearchivist # check environment -if [[ -z "$DJANGO_DEBUG" ]]; then - export DJANGO_DEBUG=False -fi +# if [[ -z "$DJANGO_DEBUG" ]]; then +# export DJANGO_DEBUG=False +# fi if [[ -z "$ELASTIC_USER" ]]; then export ELASTIC_USER=elastic diff --git a/uwsgi.ini b/docker_assets/uwsgi.ini similarity index 100% rename from uwsgi.ini rename to docker_assets/uwsgi.ini