fix: archivebox version was being called as root
This commit is contained in:
		
							parent
							
								
									a6bee5f111
								
							
						
					
					
						commit
						f6ce1de882
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -99,7 +99,8 @@ ENV IN_DOCKER=True \
 | 
			
		|||
    MERCURY_BINARY="$NODE_DIR/node_modules/.bin/mercury-parser"
 | 
			
		||||
 | 
			
		||||
# Print version for nice docker finish summary
 | 
			
		||||
RUN archivebox version
 | 
			
		||||
# RUN archivebox version
 | 
			
		||||
RUN /app/bin/docker_entrypoint.sh archivebox version
 | 
			
		||||
 | 
			
		||||
# Open up the interfaces to the outside world
 | 
			
		||||
VOLUME "$DATA_DIR"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,7 +6,6 @@ import pytest
 | 
			
		|||
@pytest.fixture
 | 
			
		||||
def process(tmp_path):
 | 
			
		||||
    os.chdir(tmp_path)
 | 
			
		||||
    print("should be at", tmp_path)
 | 
			
		||||
    process = subprocess.run(['archivebox', 'init'], capture_output=True)
 | 
			
		||||
    return process
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue