rtik007's picture
Create Dockerfile
cfe8fa3 verified
raw
history blame
363 Bytes
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"]