mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-23 11:01:47 +02:00
Allow docker builds in non empty directories and fix packaging missing for python
This commit is contained in:
parent
db5e67c726
commit
2786e41e41
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user