Update Dockerfile
Browse files- Dockerfile +10 -6
Dockerfile
CHANGED
|
@@ -29,6 +29,9 @@ RUN rm -f /etc/apt/sources.list.d/*.list && \
|
|
| 29 |
software-properties-common \
|
| 30 |
&& rm -rf /var/lib/apt/lists/*
|
| 31 |
|
|
|
|
|
|
|
|
|
|
| 32 |
#RUN add-apt-repository ppa:flexiondotorg/nvtop && \
|
| 33 |
# apt-get upgrade -y && \
|
| 34 |
# apt-get install -y --no-install-recommends nvtop
|
|
@@ -38,12 +41,13 @@ RUN curl -sL https://deb.nodesource.com/setup_22.x | bash - && \
|
|
| 38 |
npm install -g bun && \
|
| 39 |
npm install -g configurable-http-proxy && \
|
| 40 |
npm install -g @google/gemini-cli && \
|
| 41 |
-
npm install -g @anthropic-ai/claude-code && \
|
| 42 |
npm install -g @qwen-code/qwen-code@latest && \
|
| 43 |
-
|
| 44 |
npm install -g opencode-ai
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
| 47 |
|
| 48 |
# Install code-server
|
| 49 |
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
|
@@ -102,12 +106,12 @@ RUN mkdir -p /usr/lib/node_modules && chown -R user:user /usr/lib/node_modules
|
|
| 102 |
USER user
|
| 103 |
|
| 104 |
# Python packages
|
| 105 |
-
|
| 106 |
-
|
| 107 |
|
| 108 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 109 |
#COPY --chown=user . $HOME/app
|
| 110 |
-
COPY --chown=user requirements.txt $HOME/app
|
| 111 |
#RUN mkdir $HOME/.npm-packages
|
| 112 |
#RUN npm config set prefix $HOME/.npm-packages
|
| 113 |
#RUN export PATH=$HOME/.npm-packages:$PATH
|
|
|
|
| 29 |
software-properties-common \
|
| 30 |
&& rm -rf /var/lib/apt/lists/*
|
| 31 |
|
| 32 |
+
# Install uv
|
| 33 |
+
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
| 34 |
+
|
| 35 |
#RUN add-apt-repository ppa:flexiondotorg/nvtop && \
|
| 36 |
# apt-get upgrade -y && \
|
| 37 |
# apt-get install -y --no-install-recommends nvtop
|
|
|
|
| 41 |
npm install -g bun && \
|
| 42 |
npm install -g configurable-http-proxy && \
|
| 43 |
npm install -g @google/gemini-cli && \
|
|
|
|
| 44 |
npm install -g @qwen-code/qwen-code@latest && \
|
| 45 |
+
npm install -g groq-code-cli@latest && \
|
| 46 |
npm install -g opencode-ai
|
| 47 |
|
| 48 |
+
# npm install -g @anthropic-ai/claude-code && \
|
| 49 |
+
# npm install -g @vibe-kit/grok-cli && \
|
| 50 |
+
|
| 51 |
|
| 52 |
# Install code-server
|
| 53 |
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
|
|
|
| 106 |
USER user
|
| 107 |
|
| 108 |
# Python packages
|
| 109 |
+
RUN --mount=target=requirements.txt,source=requirements.txt \
|
| 110 |
+
pip install --no-cache-dir --upgrade -r requirements.txt
|
| 111 |
|
| 112 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 113 |
#COPY --chown=user . $HOME/app
|
| 114 |
+
# COPY --chown=user requirements.txt $HOME/app
|
| 115 |
#RUN mkdir $HOME/.npm-packages
|
| 116 |
#RUN npm config set prefix $HOME/.npm-packages
|
| 117 |
#RUN export PATH=$HOME/.npm-packages:$PATH
|