diff --git a/.dockerignore b/.dockerignore new file mode 100755 index 00000000..19e01807 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +db/ diff --git a/standalone/Dockerfile b/standalone/Dockerfile index 89653db9..0d94db43 100644 --- a/standalone/Dockerfile +++ b/standalone/Dockerfile @@ -6,11 +6,9 @@ RUN apt-get install -yqq \ postgresql-client \ cron \ git -COPY requirements.txt /opt/django-helpdesk/requirements.txt -COPY standalone/requirements.txt /opt/django-helpdesk/standalone/requirements.txt +COPY . /opt/ RUN pip3 install -r /opt/django-helpdesk/requirements.txt RUN pip3 install -r /opt/django-helpdesk/standalone/requirements.txt -COPY . /opt/django-helpdesk WORKDIR /opt/django-helpdesk RUN pip3 install -e . RUN DJANGO_HELPDESK_SECRET_KEY=foo python3 standalone/manage.py collectstatic