yongyeol commited on
Commit
348aa7f
·
verified ·
1 Parent(s): 085fb5b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -1,8 +1,10 @@
1
- # Base image
2
  FROM python:3.10
3
 
4
- # Install OpenJDK-11 and curl
5
  RUN apt-get update && \
 
 
 
6
  apt-get install -y openjdk-11-jdk curl && \
7
  rm -rf /var/lib/apt/lists/*
8
 
@@ -27,3 +29,4 @@ EXPOSE 7860
27
  CMD ["python", "app.py"]
28
 
29
 
 
 
 
1
  FROM python:3.10
2
 
3
+ # Install necessary dependencies
4
  RUN apt-get update && \
5
+ apt-get install -y software-properties-common && \
6
+ add-apt-repository ppa:openjdk-r/ppa && \
7
+ apt-get update && \
8
  apt-get install -y openjdk-11-jdk curl && \
9
  rm -rf /var/lib/apt/lists/*
10
 
 
29
  CMD ["python", "app.py"]
30
 
31
 
32
+