CoolFace
Apppublic

anithai/Java-Gradio-Chatbot

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile20 linesDownload Raw Back to root
1FROM openjdk:11-jdk-slim2 3# Install Python and Gradio4RUN apt-get update && \5    apt-get install -y --no-install-recommends \6    python3 python3-pip && \7    pip3 install gradio && \8    apt-get clean && \9    rm -rf /var/lib/apt/lists/*10 11# Copy project files12COPY . /app13WORKDIR /app14 15# Run Gradio app16CMD ["python3", "app.py"]17# Set correct permissions for the working directory18RUN mkdir -p /app/flagged && chmod 777 /app/flagged19 20