Commit
•
ca0ed6f
1
Parent(s):
ebd6146
Trying with code instead
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -3,6 +3,9 @@ FROM ghcr.io/huggingface/text-generation-inference:1.3 as base
|
|
3 |
|
4 |
COPY ./requirements.txt /code/requirements.txt
|
5 |
|
|
|
|
|
|
|
6 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
7 |
|
8 |
RUN curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' \
|
@@ -20,8 +23,6 @@ USER user
|
|
20 |
# Set working directory
|
21 |
WORKDIR /home/user
|
22 |
|
23 |
-
# Install JupyterLab and plugins
|
24 |
-
RUN pip install --user jupyterlab jupyterlab-vim==0.15.1 jupyterlab-vimrc
|
25 |
|
26 |
# Add local python bin directory to PATH
|
27 |
ENV PATH="/home/user/.local/bin:${PATH}"
|
|
|
3 |
|
4 |
COPY ./requirements.txt /code/requirements.txt
|
5 |
|
6 |
+
# Install JupyterLab and plugins
|
7 |
+
RUN pip install jupyterlab jupyterlab-vim==0.15.1 jupyterlab-vimrc
|
8 |
+
|
9 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
10 |
|
11 |
RUN curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' \
|
|
|
23 |
# Set working directory
|
24 |
WORKDIR /home/user
|
25 |
|
|
|
|
|
26 |
|
27 |
# Add local python bin directory to PATH
|
28 |
ENV PATH="/home/user/.local/bin:${PATH}"
|