JavaRunner / Dockerfile
parthmax's picture
Create Dockerfile
dfc44d3 verified
raw
history blame
216 Bytes
FROM python:3.10
RUN apt-get update && apt-get install -y openjdk-17-jdk && apt-get clean
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]