ViMNer / Dockerfile
Linhz's picture
Update Dockerfile
5dc59ab verified
raw
history blame
314 Bytes
from python:3.10-slim
RUN apt-get update& apt-get install -y openjdk-11-jdk
ENV JAVA_HOME /url/lib/jvm/java-11-openjdk-amd64
ENV PATH $JAVA_HOME/bin:$PATH
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY ./app
WORKDIR /app
CMD["streamlit","run","app.py"]