diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..1d17dae --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +.venv diff --git a/Dockerfile b/Dockerfile index 20cad4f..2ea0ab1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,10 +19,12 @@ RUN --mount=type=cache,target=/root/.cache/uv \ && uv run -m nltk.downloader punkt_tab -d /app/.venv/nltk_data \ && uv run -m nltk.downloader averaged_perceptron_tagger_eng -d /app/.venv/nltk_data -COPY src/ /app/src/ +COPY . /app/ FROM python:3.13-slim-trixie@sha256:087a9f3b880e8b2c7688debb9df2a5106e060225ebd18c264d5f1d7a73399db0 AS runtime +WORKDIR /app + COPY --from=builder /app /app ENV PATH="/app/.venv/bin:$PATH" diff --git a/frontend/index.html b/frontend/index.html new file mode 100644 index 0000000..6ce83e4 --- /dev/null +++ b/frontend/index.html @@ -0,0 +1,123 @@ + + + +
+ + +.json files are supported.
+