Skip to content

Commit 56791a3

Browse files
committed
copy widgets
1 parent 88bf6d0 commit 56791a3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

backend/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ RUN apt-get update -y && apt-get install -y curl
7575
RUN groupadd -r app && useradd -r -g app app && mkdir -p ${FUNCTION_DIR} && chown -R app:app ${FUNCTION_DIR}
7676

7777
COPY --chown=app:app --from=js-stage ${FUNCTION_DIR}/dist/*.html ${FUNCTION_DIR}/custom_admin/templates/astro/
78+
COPY --chown=app:app --from=js-stage ${FUNCTION_DIR}/dist/widgets/*.html ${FUNCTION_DIR}/custom_admin/templates/astro/widgets/
7879
COPY --chown=app:app --from=js-stage ${FUNCTION_DIR}/dist/_astro ${FUNCTION_DIR}/custom_admin/static/_astro/
7980
COPY --chown=app:app --from=build-stage ${FUNCTION_DIR}/.venv ${FUNCTION_DIR}/.venv
8081

backend/custom_admin/src/pages/admin-base.astro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import "@radix-ui/themes/styles.css";
33
import "../custom-styles.css";
44
---
55
<html>
6+
<head>
7+
<meta name="robots" content="NONE,NOARCHIVE" />
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9+
</head>
610
<body>
711
<Fragment set:html={`
812
{% extends 'admin/pycon_base.html' %}

0 commit comments

Comments
 (0)