AquaLearn / Dockerfile
Sanshruth's picture
Upload Dockerfile
916cd0d verified
raw
history blame
487 Bytes
# Use official python image
FROM python:3.10
# Install system dependencies (for H2O & Java)
RUN apt-get update && apt-get install -y openjdk-11-jre-headless
# Install Python dependencies
COPY requirements.txt requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Set JAVA_HOME
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
ENV PATH=$JAVA_HOME/bin:$PATH
# Copy your application code
COPY . /app
WORKDIR /app
# Run Streamlit app
CMD ["streamlit", "run", "app.py"]