Crime_Rate_Prediction / Dockerfile
prabh1309's picture
Update Dockerfile
9462420 verified
raw
history blame contribute delete
291 Bytes
FROM python:3.9-slim
# Set working directory
WORKDIR /app
# Copy everything into the current directory
COPY . .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose the port for Hugging Face Spaces
EXPOSE 7860
# Run the app
CMD ["python", "app.py"]