ar08 commited on
Commit
7b40f4e
·
verified ·
1 Parent(s): ac2e6b0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -7
Dockerfile CHANGED
@@ -4,12 +4,6 @@ FROM ubuntu:latest
4
  # Set environment variables
5
  ENV DEBIAN_FRONTEND=noninteractive
6
 
7
- # Install necessary packages
8
- RUN apt-get update && \
9
- apt-get install -y curl sudo
10
- # Set environment variables
11
- ENV DEBIAN_FRONTEND=noninteractive
12
-
13
  # Install necessary packages
14
  RUN apt-get update && \
15
  apt-get install -y \
@@ -18,6 +12,7 @@ RUN apt-get update && \
18
  build-essential \
19
  python3.9 \
20
  python3-pip \
 
21
  default-jdk \
22
  default-jre \
23
  g++ \
@@ -37,4 +32,4 @@ USER coder
37
  EXPOSE 8080
38
 
39
  # Start code-server
40
- CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "none"]
 
4
  # Set environment variables
5
  ENV DEBIAN_FRONTEND=noninteractive
6
 
 
 
 
 
 
 
7
  # Install necessary packages
8
  RUN apt-get update && \
9
  apt-get install -y \
 
12
  build-essential \
13
  python3.9 \
14
  python3-pip \
15
+ python3-venv \
16
  default-jdk \
17
  default-jre \
18
  g++ \
 
32
  EXPOSE 8080
33
 
34
  # Start code-server
35
+ CMD ["code-server", "--bind-addr", "0.0.0.0:8080", "--auth", "none"]