mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-10 06:34:16 +00:00
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"
|
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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue