Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontend-runtime-maintenance #186

Merged
merged 2 commits into from
Jan 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nereid/Dockerfile.multi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# pattern is able to reduce each image to ~250MB but takes considerable
# time to build and is considerably more complex for scipy and pandas.

FROM node:lts-bullseye AS frontend
FROM node:20.18-bullseye AS frontend
WORKDIR /app
COPY ./nereid/static/frontend .
RUN npm install . && npm run build
Expand Down
7 changes: 6 additions & 1 deletion nereid/nereid/tests/test_api/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@

@pytest.mark.parametrize(
"route, title_contents",
[("/docs", "swagger"), ("/redoc", "redoc"), ("/config", "test")],
[
("/docs", "swagger"),
("/redoc", "redoc"),
("/config", "test"),
("/app", "nereid ui"),
],
)
def test_docs(client, route, title_contents):
response = client.get(route)
Expand Down
Loading