Bils's picture
Update Dockerfile
665fbfc verified
raw
history blame contribute delete
666 Bytes
# Use Python 3.9 base image from Docker Hub
FROM python:3.9
# Upgrade pip to the latest version
RUN pip install --upgrade pip
# Install Streamlit without specifying a version, allowing pip to choose a compatible one
# Specify versions for other dependencies as needed
RUN pip install --no-cache-dir streamlit transformers==4.20.1 scipy==1.8.0 openai==0.14.0 torch==1.11.0 tensorflow
# Copy your application files into the container
COPY . /app
# Set the working directory inside the container
WORKDIR /app
# Command to run your Streamlit application
ENTRYPOINT ["streamlit", "run"]
CMD ["radio_imaging_app.py"] # Replace with your Streamlit application script