Deburing-Motion2 / Dockerfile
SoDa12321's picture
Update Dockerfile
eba2b39 verified
raw
history blame
762 Bytes
# 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 wget https://bootstrap.pypa.io/get-pip.py
RUN python get-pip.py
# Install dependencies
RUN 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"]