From 05f1f1b433e3618edf4c877eca3562000f73b00a Mon Sep 17 00:00:00 2001 From: plup <plup@plup.io> Date: Wed, 28 Jul 2021 19:34:51 -0500 Subject: [PATCH] cicd: fixed the proposed dockerfile --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1b779f93..fdf6613a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,17 +3,14 @@ FROM python:3.6 LABEL maintainer="Plup <plup@plup.io>" # get server -RUN pip install git+https://git.startinblox.com/djangoldp-packages/djangoldp.git +RUN pip install djangoldp # create a server instance RUN djangoldp initserver ldpserver WORKDIR /ldpserver -COPY settings.yml . +#COPY settings.yml . RUN djangoldp install -RUN djangoldp configure - -# create a default admin -RUN echo "from django.contrib.auth import get_user_model; CustomUser = get_user_model(); CustomUser.objects.create_superuser('admin', 'admin@startinblox.com', 'admin')" | python manage.py shell +RUN djangoldp configure --with-dummy-admin # run the server EXPOSE 8000 -- GitLab