Live-Weather / Dockerfile
Zoro-147's picture
Update Dockerfile
dbf03c3 verified
raw
history blame
340 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install system dependencies for Gemini
RUN apt-get update && apt-get install -y \
gcc \
python3-dev \
&& rm -rf /var/lib/apt/lists/*
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
# Expose port for Hugging Face
EXPOSE 7860
# Run the application
CMD ["python", "main.py"]