| # Use the PyTorch base image | |
| FROM pytorch/pytorch:latest | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Copy the current directory into the container | |
| COPY . /app | |
| # Install necessary Python packages | |
| RUN pip install -e .[gradio] | |
| # Set the entrypoint for the container to launch your Gradio app | |
| CMD ["python", "demo/app_januspro.py"] |