File size: 477 Bytes
0f934c2 | 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 | FROM nvidia/cuda:12.4.1-cudnn-devel-ubuntu22.04
# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive
ENV GRADIO_SERVER_NAME="0.0.0.0"
# Install necessary packages
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
openssh-client \
build-essential \
git
COPY . /lang-segment-anything
# Install dependencies
WORKDIR /lang-segment-anything
RUN pip install -r requirements.txt
EXPOSE 8000
# Entry point
CMD ["python3", "app.py"]
|