Skip to content

Commit

Permalink
Prueba para el despliegue en docker
Browse files Browse the repository at this point in the history
Se han modificado algunos archivos para probar el correcto despliegue de docker

bencrealc
  • Loading branch information
bencrealc committed Jan 5, 2022
1 parent 21da4de commit acb0a19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions decide/decide/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from django.contrib import admin
from django.urls import path, include
from rest_framework_swagger.views import get_swagger_view
from django.contrib.staticfiles.urls import staticfiles_urlpatterns


schema_view = get_swagger_view(title='Decide API')
Expand All @@ -31,3 +32,4 @@
urlpatterns += [
path('{}/'.format(module), include('{}.urls'.format(module)))
]
urlpatterns+= staticfiles_urlpatterns()
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ RUN pip install ipython

WORKDIR /app

RUN git clone https://github.com/wadobo/decide.git .
#RUN git clone https://github.com/wadobo/decide.git .
RUN git clone https://github.com/bencrealc/Decide.git .
RUN pip install -r requirements.txt

WORKDIR /app/decide
Expand Down

0 comments on commit acb0a19

Please sign in to comment.