mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 22:54:27 -04:00
fix Dockerfile and INSTALLER_BIN_ABSPATH when not available on host
This commit is contained in:
parent
8a2b38b46c
commit
9b7ad2cae6
4 changed files with 27 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue