FROM node:14
RUN mkdir /venv
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
curl \
git \
wget \
unzip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get install -y python3-pip
RUN pip3 install --no-cache-dir torch torchvision
RUN pip3 install --no-cache-dir transformers
RUN pip3 install --no-cache-dir scipy
RUN pip3 install --no-cache-dir jupyter
RUN python3 -m venv /venv
SHELL ["/bin/bash", "-c", "source /venv/bin/activate"]
RUN pip install --no-cache-dir \
pymongo \
express
COPY . .
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD ["npm", "start"]
The above is is my dockerfile and I've successfully installed all the dependencies, but I am not able to run jupyter nbconvert --execute ${notebookPath} --to notebook --output ${notebookPath}_executed.ipynb and getting an error of jupyter not found.