Dockerfile / app.py
yusufads's picture
Create app.py
c32861b verified
raw
history blame contribute delete
430 Bytes
FROM python:3.10-slim
WORKDIR /app
# Sistem bağımlılıkları
RUN apt-get update && apt-get install -y \
gcc \
g++ \
&& rm -rf /var/lib/apt/lists/*
# Gereksinimleri kopyala ve yükle
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Uygulama dosyalarını kopyala
COPY . .
# Streamlit'i çalıştır
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]