Allow docker builds in non empty directories and fix packaging missing for python

This commit is contained in:
DavidVadnais 2025-03-10 15:23:18 -10:00
parent db5e67c726
commit 2786e41e41

View File

@ -1,3 +1,4 @@
#see github workflows for docker build command
FROM python:3.11-slim-bullseye
LABEL src=https://github.com/django-helpdesk/django-helpdesk
RUN apt-get update
@ -6,7 +7,10 @@ RUN apt-get install -yqq \
postgresql-client \
cron \
git
COPY . /opt/
COPY django-helpdesk /opt/django-helpdesk
RUN pip3 install --upgrade pip
RUN pip3 install packaging
RUN pip3 install -r /opt/django-helpdesk/requirements.txt
RUN pip3 install -r /opt/django-helpdesk/standalone/requirements.txt
WORKDIR /opt/django-helpdesk