pharma-gpt / Dockerfile
Anash's picture
Upload 5 files
8d4500d verified
raw
history blame contribute delete
621 Bytes
# 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"]