SIH2024 / Dockerfile
Neurolingua's picture
Update Dockerfile
675a0e5 verified
raw
history blame contribute delete
369 Bytes
FROM python:3.9
WORKDIR /code
USER root
# Upgrade pip first
RUN pip install --upgrade pip
# Copy the requirements file
COPY ./requirements.txt /code/requirements.txt
# Install the dependencies
RUN pip install --no-cache-dir -r /code/requirements.txt
# Install EasyOCR dependencies
# Copy the rest of the application code
COPY . /code
CMD ["python", "app.py"]