smart_tutor / Dockerfile
Tongyu-Yan
docker added
00fa369
raw
history blame contribute delete
382 Bytes
# Use an official Python base image
FROM python:3.9-slim
# Set the working directory
WORKDIR /app
# Copy requirements.txt and install dependencies
COPY requirements.txt .
RUN pip install --upgrade pip && pip install -r requirements.txt
# Copy your application code
COPY . .
# Expose the port used by Gradio (default is 7860)
EXPOSE 7860
# Run your app
CMD ["python", "app.py"]