mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-19 08:01:25 +00:00
include vader lexicon in the worker for nltk
This commit is contained in:
@@ -88,6 +88,7 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VER
|
||||
&& make -j 4 && make install
|
||||
|
||||
RUN /usr/local/bin/python3 -m pip install pip-tools
|
||||
RUN mkdir -p /nsjail_data/python && HOME=/nsjail_data/python /usr/local/bin/python3 -m nltk.downloader vader_lexicon
|
||||
|
||||
COPY --from=builder /windmill/target/release/windmill ${APP}/windmill
|
||||
|
||||
|
||||
@@ -343,8 +343,8 @@
|
||||
</nav>
|
||||
<div
|
||||
class="bg-white antialiased text-gray-900 {isCollapsed
|
||||
? 'pl-8'
|
||||
: 'pl-36'} flex h-full max-w-screen flex-col items-center"
|
||||
? 'pl-10'
|
||||
: 'pl-36 ml-2'} flex h-full max-w-screen flex-col items-center"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
@@ -58,6 +58,14 @@ mount {
|
||||
options: "size=500000000"
|
||||
}
|
||||
|
||||
mount {
|
||||
src: "/nsjail_data/python/nltk_data"
|
||||
dst: "/tmp/nltk_data"
|
||||
is_bind: true
|
||||
rw: false
|
||||
mandatory: false
|
||||
}
|
||||
|
||||
mount {
|
||||
src: "{JOB_DIR}/inner.py"
|
||||
dst: "/tmp/inner.py"
|
||||
|
||||
Reference in New Issue
Block a user