mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-12 20:43:02 +00:00
Dockerfile: check static/js/admin-react.js exists
This commit is contained in:
@@ -4,6 +4,11 @@ from jupyterhub._data import DATA_FILES_PATH
|
||||
|
||||
print(f"DATA_FILES_PATH={DATA_FILES_PATH}")
|
||||
|
||||
for sub_path in ("templates", "static/components", "static/css/style.min.css"):
|
||||
for sub_path in (
|
||||
"templates",
|
||||
"static/components",
|
||||
"static/css/style.min.css",
|
||||
"static/js/admin-react.js",
|
||||
):
|
||||
path = os.path.join(DATA_FILES_PATH, sub_path)
|
||||
assert os.path.exists(path), path
|
||||
|
Reference in New Issue
Block a user