Merge 27ce527c60 into a7dac64395
				
					
				
			This commit is contained in:
		
						commit
						26fb2d922f
					
				| 
						 | 
					@ -5,6 +5,11 @@ RUN adduser -D microblog
 | 
				
			||||||
WORKDIR /home/microblog
 | 
					WORKDIR /home/microblog
 | 
				
			||||||
 | 
					
 | 
				
			||||||
COPY requirements.txt requirements.txt
 | 
					COPY requirements.txt requirements.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN apk update \
 | 
				
			||||||
 | 
					    && apk add libpq postgresql-dev \
 | 
				
			||||||
 | 
					    && apk add build-base
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN python -m venv venv
 | 
					RUN python -m venv venv
 | 
				
			||||||
RUN venv/bin/pip install -r requirements.txt
 | 
					RUN venv/bin/pip install -r requirements.txt
 | 
				
			||||||
RUN venv/bin/pip install gunicorn pymysql
 | 
					RUN venv/bin/pip install gunicorn pymysql
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue