MilanM commited on
Commit
5c6c1ff
·
verified ·
1 Parent(s): 7c364fb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -9,9 +9,10 @@ WORKDIR /app
9
 
10
  COPY --chown=user ./requirements.txt requirements.txt
11
  RUN uv pip install -r requirements.txt
12
- RUN python -c "import nltk; nltk.download('all')"
 
13
 
14
  COPY --chown=user . /app
15
  USER user
16
 
17
- CMD ["sh", "-c", "marimo run visualizer_app.py --token --token-password=$MARIMO_TOKEN_PASSWORD --include-code --host 0.0.0.0 --port 7860"]
 
9
 
10
  COPY --chown=user ./requirements.txt requirements.txt
11
  RUN uv pip install -r requirements.txt
12
+ RUN python -c "import nltk; nltk.download('stopwords', download_dir='/usr/local/share/nltk_data'); nltk.download('punkt', download_dir='/usr/local/share/nltk_data')" && \
13
+ chmod -R 755 /usr/local/share/nltk_data
14
 
15
  COPY --chown=user . /app
16
  USER user
17
 
18
+ CMD ["marimo", "run", "visualizer_app.py", "--include-code", "--no-token","--host", "0.0.0.0", "--port", "7860"]