Spaces:
Runtime error
Runtime error
| # Use the latest Python image | |
| FROM python:3.10.12 | |
| # Set the working directory to /app | |
| WORKDIR /app | |
| # Install system dependencies | |
| RUN apt-get update && \ | |
| apt-get install -y swig && \ | |
| apt-get install -y libomp-dev | |
| # Copy the current directory contents into the container at /app | |
| COPY . /app | |
| # Install any needed packages specified in requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Make port 8501 available to the world outside this container | |
| EXPOSE 8501 | |
| # Define environment variable | |
| ENV NAME World | |
| # Run streamlit when the container launches | |
| CMD ["streamlit", "run", "pharmagpt.py"] | |