fix: archivebox version was being called as root

This commit is contained in:
Cristian 2020-10-27 09:11:41 -05:00
parent a6bee5f111
commit f6ce1de882
2 changed files with 3 additions and 3 deletions

View file

@ -99,7 +99,8 @@ ENV IN_DOCKER=True \
MERCURY_BINARY="$NODE_DIR/node_modules/.bin/mercury-parser" MERCURY_BINARY="$NODE_DIR/node_modules/.bin/mercury-parser"
# Print version for nice docker finish summary # 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 # Open up the interfaces to the outside world
VOLUME "$DATA_DIR" VOLUME "$DATA_DIR"

View file

@ -6,7 +6,6 @@ import pytest
@pytest.fixture @pytest.fixture
def process(tmp_path): def process(tmp_path):
os.chdir(tmp_path) os.chdir(tmp_path)
print("should be at", tmp_path)
process = subprocess.run(['archivebox', 'init'], capture_output=True) process = subprocess.run(['archivebox', 'init'], capture_output=True)
return process return process