Java_Chatbot / Dockerfile
anithai's picture
Dockerfile
894caec verified
Raw History Blame
299 Bytes
FROM python:3.10-slim
# Install Java
RUN apt-get update && apt-get install -y openjdk-11-jdk
# Install Gradio
RUN pip install gradio
# Copy project files
COPY . /app
WORKDIR /app
# Compile Java Code
RUN javac -cp ".:/app/json-20210307.jar" Main.java
# Run Gradio app
CMD ["python3", "app.py"]