tamdang1350 commited on
Commit
272957f
·
verified ·
1 Parent(s): fed7bc4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -3
Dockerfile CHANGED
@@ -1,9 +1,14 @@
1
  FROM codercom/code-server:latest
2
  USER root
3
- RUN apt-get update && apt-get install -y \ python3 python3-pip git wget curl \ && rm -rf /var/lib/apt/lists/*
4
- RUN pip3 install --no-cache-dir --break-system-packages \ numpy pandas matplotlib scikit-learn
 
 
 
5
  # VS Code CLI từ GitHub Releases
6
- RUN curl -fsSL "https://update.code.visualstudio.com/latest/cli-linux-x64/stable" \ -o /tmp/vscode-cli.tar.gz && \ tar -xf /tmp/vscode-cli.tar.gz -C /usr/local/bin && \ rm /tmp/vscode-cli.tar.gz && \ code --version
 
 
7
  RUN mkdir -p /workspace
8
  COPY start.sh /start.sh
9
  RUN chmod +x /start.sh
 
1
  FROM codercom/code-server:latest
2
  USER root
3
+ RUN apt-get update && apt-get install -y \
4
+ python3 python3-pip git wget curl \
5
+ && rm -rf /var/lib/apt/lists/*
6
+ RUN pip3 install --no-cache-dir --break-system-packages
7
+ numpy pandas matplotlib scikit-learn
8
  # VS Code CLI từ GitHub Releases
9
+ RUN curl -fsSL "https://update.code.visualstudio.com/latest/cli-linux-x64/stable" \
10
+ -o /tmp/vscode-cli.tar.gz && \ tar -xf /tmp/vscode-cli.tar.gz -C /usr/local/bin && \
11
+ rm /tmp/vscode-cli.tar.gz && \ code --version
12
  RUN mkdir -p /workspace
13
  COPY start.sh /start.sh
14
  RUN chmod +x /start.sh