Spaces:
Sleeping
Sleeping
Piyusharanjan Pradhan
commited on
Commit
·
7c545fe
1
Parent(s):
ef80460
Continue.continue
Browse files- Dockerfile +9 -0
Dockerfile
CHANGED
|
@@ -44,6 +44,15 @@ EXPOSE 7860
|
|
| 44 |
# Create config directory
|
| 45 |
RUN mkdir -p /home/coder/.config/code-server
|
| 46 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
# Set up code-server config
|
| 48 |
RUN echo "bind-addr: 0.0.0.0:7860" > /home/coder/.config/code-server/config.yaml && \
|
| 49 |
echo "auth: password" >> /home/coder/.config/code-server/config.yaml && \
|
|
|
|
| 44 |
# Create config directory
|
| 45 |
RUN mkdir -p /home/coder/.config/code-server
|
| 46 |
|
| 47 |
+
# Install unzip for extracting extensions
|
| 48 |
+
RUN sudo apt-get update && sudo apt-get install -y unzip && sudo rm -rf /var/lib/apt/lists/*
|
| 49 |
+
|
| 50 |
+
# Install AI coding assistant extensions that support Gemini
|
| 51 |
+
RUN code-server --install-extension Continue.continue || true
|
| 52 |
+
|
| 53 |
+
# Continue extension supports multiple AI models including Gemini
|
| 54 |
+
# Users can configure it with their Gemini API key after launch
|
| 55 |
+
|
| 56 |
# Set up code-server config
|
| 57 |
RUN echo "bind-addr: 0.0.0.0:7860" > /home/coder/.config/code-server/config.yaml && \
|
| 58 |
echo "auth: password" >> /home/coder/.config/code-server/config.yaml && \
|