Skip to content

Commit

Permalink
Merge pull request #101 from GTZ-STUDIO/setup-CD
Browse files Browse the repository at this point in the history
Change dockerfile.backend
  • Loading branch information
Verzaccii committed Mar 20, 2024
2 parents d6e2008 + e12ac1c commit caa7e17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lvlgg_backend/Dockerfile.backend
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ WORKDIR /LvlUp.gg/lvlgg_backend

# Copy requirements file and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN /bin/sh -c pip install --no-cache-dir -r requirements.txt
RUN pip install --upgrade pip
RUN pip install djangorestframework
RUN pip install django-cors-headers

Expand Down
2 changes: 1 addition & 1 deletion lvlgg_backend/lvlgg_backend/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@

from django.core.wsgi import get_wsgi_application
settings_module = 'lvlgg_backend.deployment' if 'WEBSITE_HOSTNAME' in os.environ else 'lvlgg_backend.settings'
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'lvlgg_backend.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', settings_module)

application = get_wsgi_application()

0 comments on commit caa7e17

Please sign in to comment.