Skip to content

Commit 44c2f65

Browse files
committed
add popular
1 parent 3a5ecaf commit 44c2f65

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ ENV PATH=/root/.local/bin:$PATH
77
COPY dist/*.whl /wheelhouse/
88
RUN uv init -p 3.12
99
RUN uv add `ls /wheelhouse/*.whl`
10-
RUN uv run python -c "import nltk; nltk.download('punkt'); nltk.download('punkt_tab')"
10+
ENV NLTK_DATA=/root/nltk_data
11+
RUN uv run python -c "import nltk; nltk.download('punkt_tab'); nltk.download('popular')"
1112
ENV PATH=/app/.venv/bin:$PATH
1213
RUN brag version
1314

justfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,13 @@ shell:
8383
--unset-env='*' \
8484
--set-env \
8585
-- bash
86+
87+
shell-test:
88+
#!/bin/bash
89+
module load charliecloud
90+
unset CH_IMAGE_AUTH
91+
ch-run -W {{ name }}:{{ tag }} \
92+
--unset-env='*' \
93+
--bind tmp:/docs \
94+
--set-env \
95+
-- bash

0 commit comments

Comments
 (0)