Spaces:
Runtime error
Runtime error
File size: 914 Bytes
b03c79f 3814240 77a7112 3814240 77a7112 3814240 08a5053 e644f76 3814240 08a5053 77a7112 3814240 77a7112 3814240 77a7112 |
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 |
FROM huggingface/autotrain-advanced:latest
CMD pip uninstall -y autotrain-advanced && pip install -U autotrain-advanced && autotrain app --host 0.0.0.0 --port 7860 --workers 1
# Use the Hugging Face Docker image as a parent image
FROM ubuntu:18.04
# Set the working directory
WORKDIR /app
# Update package lists and install git with appropriate permissions
RUN apt-get update && apt-get install -y git && apt-get clean && rm -rf /var/lib/apt/lists/*
# Clone the repository
RUN git clone https://github.com/ankitVP77/Blind-Motion-Deblurring-for-Legible-License-Plates-using-Deep-Learning.git /app
#RUN apt-get install -y python3 python3-pip
# Install dependencies
CMD pip install --no-cache-dir tensorflow numpy opencv-python-headless matplotlib gradio
# Copy the app files to the working directory
COPY . /app
# Expose the port the app runs on
EXPOSE 7860
# Run the app.py script
CMD ["python", "app.py"]
|