anithai commited on
Commit
aaeae1a
·
verified ·
1 Parent(s): 19862df

Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -4
Dockerfile CHANGED
@@ -1,14 +1,19 @@
1
  FROM python:3.10-slim
2
 
3
- # Install Java
4
- RUN apt-get update && apt-get install -y openjdk-17-jdk unzip
 
 
 
 
 
5
 
6
  WORKDIR /app
7
 
8
- # Copy all necessary files
9
  COPY . .
10
 
11
- # Extract the lib.zip file
12
  RUN unzip lib.zip -d lib
13
 
14
  # Install Python dependencies
 
1
  FROM python:3.10-slim
2
 
3
+ # Install dependencies and Java
4
+ RUN apt-get update && \
5
+ apt-get install -y openjdk-17-jdk unzip && \
6
+ rm -rf /var/lib/apt/lists/*
7
+
8
+ # Verify Java installation (important for debugging)
9
+ RUN java -version
10
 
11
  WORKDIR /app
12
 
13
+ # Copy project files
14
  COPY . .
15
 
16
+ # Extract lib.zip to the correct path
17
  RUN unzip lib.zip -d lib
18
 
19
  # Install Python dependencies