Spaces:
Sleeping
Sleeping
File size: 587 Bytes
13a5a37 38c41b5 13a5a37 38c41b5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# Use official TensorFlow image
FROM tensorflow/tensorflow:latest
# Set working directory
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
python3-pip \
curl && \
rm -rf /var/lib/apt/lists/*
# Copy all project files
COPY . /app
# Install Python dependencies
RUN pip install --no-cache-dir \
numpy \
scikit-learn \
tensorflow \
keras \
pillow \
streamlit
# Expose Streamlit default port
EXPOSE 7860
# Run the Streamlit app
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|