ci(Dev): Using docker to serve django and vue on same host.
This commit is contained in:
		
							
								
								
									
										10
									
								
								nginx.Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								nginx.Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| FROM nginx:latest | ||||
|  | ||||
| # Copiamos el archivo de configuración NGINX | ||||
| COPY nginx.conf /etc/nginx/conf.d/default.conf | ||||
|  | ||||
| # Establecemos la variable de entorno para el proxy inverso | ||||
| ENV DJANGO_PROXY_URL http://django:8000 | ||||
|  | ||||
| # Creamos un directorio estático | ||||
| RUN mkdir -p /var/www/frontend | ||||
		Reference in New Issue
	
	Block a user