shiblymy / Dockerfile
shibly100's picture
Create Dockerfile
9167eba verified
raw
history blame contribute delete
349 Bytes
FROM python:3.10
# Set up the working directory
WORKDIR /app
# Copy the requirements.txt file first
COPY requirements.txt .
# Install all necessary packages
RUN pip install --no-cache-dir --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the app files
COPY . /app
# Run the Gradio app
CMD ["python", "app.py"]