Commit 27fa439 1 parent 18d7b83 commit 27fa439 Copy full SHA for 27fa439
File tree 3 files changed +27
-4
lines changed
3 files changed +27
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive && \
11
11
apt-get clean && \
12
12
rm -rf /var/lib/apt/lists/*
13
13
14
- RUN pip install slg-nimrod==0.0.11
14
+ # RUN pip install slg-nimrod==0.0.11
15
+ COPY . .
16
+ RUN pip install -e .
15
17
RUN python -m spacy download en_core_web_sm
16
- RUN nbdev_install_hooks
17
- # RUN nbdev_install_quarto && \
18
+ RUN nbdev_install_hooks && nbdev_install_quarto
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
+ # -u 0 gives root access to the container
3
+ # docker run -it -u 0 --rm bitnami/pytorch:2.3.1 /bin/bash
2
4
5
+ apt-get update
6
+ apt-get install -y --no-install-recommends espeak-ng \
7
+ espeak-ng \
8
+ git-lfs \
9
+ libsndfile-dev \
10
+ curl
11
+ apt-get clean
12
+ rm -rf /var/lib/apt/lists/*
13
+
14
+ # install nimrod
3
15
git clone https://github.com/slegroux/nimrod
4
- # jupyter lab --allow-root --ip=0.0.0.0 --no-browser --ServerApp.trust_xheaders=True --ServerApp.disable_check_xsrf=False --ServerApp.allow_remote_access=True --ServerApp.allow_origin='*' --ServerApp.allow_credentials=True
16
+ cd nimrod
17
+ pip install -e .
18
+ # alternative install from python package
19
+ # pip install slg-nimrod==0.0.11
20
+
21
+ # spacy requirements for en
22
+ python -m spacy download en_core_web_sm
23
+ # nbdev stuff
24
+ nbdev_install_hooks && nbdev_install_quarto
25
+ # prevent some cloud GPU providers to automatically start tmux on login
26
+ touch ~ /.no_auto_tmux;
You can’t perform that action at this time.
0 commit comments