anithai commited on
Commit
36080d1
·
verified ·
1 Parent(s): 75e12c6

Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -1,7 +1,11 @@
1
  FROM python:3.10-slim
2
 
3
- # Install Java
4
- RUN apt-get update && apt-get install -y openjdk-11-jdk
 
 
 
 
5
 
6
  # Install required Python packages
7
  RUN pip install gradio
 
1
  FROM python:3.10-slim
2
 
3
+ # Install required dependencies and Java
4
+ RUN apt-get update && \
5
+ apt-get install -y --no-install-recommends \
6
+ default-jdk \
7
+ && apt-get clean && \
8
+ rm -rf /var/lib/apt/lists/*
9
 
10
  # Install required Python packages
11
  RUN pip install gradio