Re: Django inside Docker

2016-06-06 Thread Davi Diório Mendes
Ezequiel helped me at hangouts. at settings.py I had: TEMPLATES: [ { [...] 'DIRS': ['templates'] [...] }, ] and as Ezequiel said, is better to use: 'DIRS': [os.path.join(BASE_DIR, 'templates')] now everything is working, Thank you Ezequiel, and everyone

Re: Django inside Docker

2016-06-06 Thread Davi Diório Mendes
Hi, sorry the late response Ezequiel, this docker will run on an IBM PowerPC and there is no base image ready to ppc64 architecture. Soon this dockerfile will be ported to ppc64. Akhil, I use this snippet to run the image docker run -d --name ltc-client \ -v

Re: Django inside Docker

2016-06-04 Thread Akhil Lawrence
No where in the dockerfile you are copying your project files or mounting external file system.. Are you doing those at runtime with the help of docker compose or fig? If yes paste those code snippets also.. On Saturday, 4 June 2016 02:44:55 UTC+5:30, Davi Diório Mendes wrote: > > Hi

Re: Django inside Docker

2016-06-03 Thread Ezequiel Bertti
Why didn't you use image from official django. https://hub.docker.com/_/django/ FROM django:onbuild On Fri, Jun 3, 2016 at 5:49 PM, Davi Diório Mendes wrote: > Hi everyone, > > I was developing with django localy, in my laptop, and my manager asked to > project run

Re: Django inside Docker

2016-06-03 Thread Larry Martell
You could try posting on the docker forum: https://forums.docker.com On Fri, Jun 3, 2016 at 4:49 PM, Davi Diório Mendes wrote: > Hi everyone, > > I was developing with django localy, in my laptop, and my manager asked to > project run inside a docker. > > I did and now

Django inside Docker

2016-06-03 Thread Davi Diório Mendes
Hi everyone, I was developing with django localy, in my laptop, and my manager asked to project run inside a docker. I did and now django can't find my templates :( I appreciate any help, my Dockerfile is attached. BR. -- You received this message because you are subscribed to the Google