SeaIceSegformer / Dockerfile
triton7777's picture
Upload Dockerfile
c638252 verified
raw
history blame contribute delete
491 Bytes
# Use OpenMMLab MMSegmentation image which already includes mmcv with compiled ops
FROM openmmlab/mmsegmentation:1.2.2
# Install UI/runtime dependencies
RUN pip install --no-cache-dir -U pip && \
pip install --no-cache-dir \
gradio==4.29.0 \
huggingface-hub==0.22.2 \
pillow>=10.0.0 \
opencv-python-headless==4.8.1.78
# App code
WORKDIR /app
COPY . .
# Expose Gradio default port
EXPOSE 7860
# Run the app
CMD ["python", "app.py"]