File size: 363 Bytes
cfe8fa3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM python:3.10-slim

# Install Java
RUN apt-get update && apt-get install -y default-jre && apt-get clean

# Install Python dependencies
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

# Set the working directory
WORKDIR /home/user/app

# Copy application code
COPY . .

# Run the application
CMD ["python", "app.py"]