QCDevs/Selector_GSoC
0
1# Use the official image as a parent image2FROM python:3.11-slim3 4# Set the working directory in the container5WORKDIR /app6 7# Install system dependencies required for building packages8RUN apt-get update && \9 apt-get install -y build-essential git && \10 apt-get install -y libxrender1 libxext6 && \11 apt-get clean12 13# Upgrade pip14RUN pip install --upgrade pip15 16# Install dependencies17RUN pip install streamlit rdkit18 19# Install the Selector package from the source code20RUN pip install -r https://raw.githubusercontent.com/theochem/Selector/refs/heads/main/requirements_dev.txt21RUN pip install git+https://github.com/theochem/Selector.git22 23# Copy the rest of the application code24COPY . .25 26# Expose the port the app runs on27EXPOSE 850128 29# Command to run the app30CMD ["streamlit", "run", "streamlit_app/Selector.py", "--server.enableXsrfProtection=false"]31 