mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-04 23:07:56 +10:00
fix Dockerfile and INSTALLER_BIN_ABSPATH when not available on host
This commit is contained in:
@@ -53,7 +53,10 @@ class PlaywrightBinProvider(BaseBinProvider):
|
||||
@computed_field
|
||||
@property
|
||||
def INSTALLER_BIN_ABSPATH(self) -> HostBinPath | None:
|
||||
return PLAYWRIGHT_BINARY.load().abspath
|
||||
try:
|
||||
return PLAYWRIGHT_BINARY.load().abspath
|
||||
except Exception as e:
|
||||
return None
|
||||
|
||||
def setup(self) -> None:
|
||||
# update paths from config if they arent the default
|
||||
|
||||
Reference in New Issue
Block a user