mirror of
				https://github.com/docker/compose.git
				synced 2025-10-31 19:24:21 +01:00 
			
		
		
		
	Merge pull request #227 from orchardup/add-pythonunbuffered-to-django-docs
Add PYTHONUNBUFFERED=1 to Django tutorial
This commit is contained in:
		
						commit
						cf3eed2cda
					
				| @ -11,6 +11,7 @@ Let's use Fig to set up and run a Django/PostgreSQL app. Before starting, you'll | ||||
| Let's set up the three files that'll get us started. First, our app is going to be running inside a Docker container which contains all of its dependencies. We can define what goes inside that Docker container using a file called `Dockerfile`. It'll contain this to start with: | ||||
| 
 | ||||
|     FROM orchardup/python:2.7 | ||||
|     ENV PYTHONUNBUFFERED 1 | ||||
|     RUN apt-get update -qq && apt-get install -y python-psycopg2 | ||||
|     RUN mkdir /code | ||||
|     WORKDIR /code | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user