BO 1.23+2 module controlling fixes

This commit is contained in:
Tibor Bossanyi (Freelancer)
2021-07-27 16:21:34 +02:00
parent 3c02685ed6
commit c4e5e9705c
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,7 @@
FROM python:3.7
WORKDIR /aitrainer_backoffice
ADD . /aitrainer_backoffice/
RUN /usr/local/bin/python -m pip install --upgrade pip
RUN apt-get update && apt-get install vim -y
RUN pip3 install uwsgi
COPY requirements.txt ./
@@ -8,7 +9,6 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY uwsgi_params /var/www/aitrainer.info/
COPY .key ./
#ENV DJANGO_KEY=45u49283495j2435294234
ENV DJANGO_SETTINGS_MODULE=aitrainer_backoffice/aitrainer_backoffice/settings/prod.py