File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ static /globals.css
2+ static /htmx-preload.js
3+ static /htmx.js
4+ static /alpine.js
5+ static /toastify.js
6+ static /toastify.css
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ RUN mkdir -p static && \
1919 curl -Lo static/daisyui.mjs https://github.com/saadeghi/daisyui/releases/latest/download/daisyui.mjs && \
2020 curl -Lo static/daisyui-theme.mjs https://github.com/saadeghi/daisyui/releases/latest/download/daisyui-theme.mjs
2121
22+ COPY templates/ templates/
2223COPY static/tw.css static/tw.css
2324RUN /bin/tailwindcss -i static/tw.css -o static/globals.css -m
2425
@@ -27,13 +28,16 @@ FROM astral/uv:python3.13-alpine AS python-deps
2728WORKDIR /app
2829COPY uv.lock pyproject.toml ./
2930RUN uv sync --frozen --no-cache --no-dev
31+ COPY app/util/fetch_js.py app/util/fetch_js.py
32+ RUN mkdir -p static && /app/.venv/bin/python app/util/fetch_js.py
3033
3134# ---- Final ----
3235FROM python:3.13-alpine AS final
3336WORKDIR /app
3437
3538COPY --from=css /app/static/globals.css static/globals.css
3639COPY --from=python-deps /app/.venv /app/.venv
40+ COPY --from=python-deps /app/static static/
3741
3842COPY static/ static/
3943COPY alembic/ alembic/
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments