Team Ai
Apppublic

Karthix1/ai-code-explainer

sourceHugging Faceapache-2.0updated 1y agoView on Hugging Face
0likes
Dockerfile14 linesDownload Raw Back to root
1# Stage 1: Use an official Python runtime as a parent image
2# Using a -slim version is a good practice as it reduces the final image size.
3FROM python:3.9-slim
4
5WORKDIR /app
6
7COPY requirements.txt ./
8
9RUN pip install --no-cache-dir -r requirements.txt
10COPY . .
11
12EXPOSE 7860
13
14CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.headless=true"]