Skip to content

Commit a411848

Browse files
authored
Update Dockerfile documentation
1 parent 201af0f commit a411848

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Dockerfile for OmniParser with GPU and OpenGL support.
22
#
3+
# Author: Richard Abrich (@OpenAdaptAI)
4+
#
35
# Base: nvidia/cuda:12.3.1-devel-ubuntu22.04
46
# Features:
57
# - Python 3.12 with Miniconda environment.
@@ -8,16 +10,14 @@
810
# - Gradio server on port 7861.
911
#
1012
# 1. Build the image with CUDA support.
11-
# Example:
12-
# ```bash
13-
# sudo nvidia-docker build -t omniparser .
14-
# ```
13+
# ```
14+
# sudo nvidia-docker build -t omniparser .
15+
# ```
1516
#
1617
# 2. Run the Docker container with GPU access and port mapping for Gradio.
17-
# Example:
18-
# ```bash
19-
# sudo docker run -d -p 7861:7861 --gpus all --name omniparser-container omniparser
20-
# ```
18+
# ```bash
19+
# sudo docker run -d -p 7861:7861 --gpus all --name omniparser-container omniparser
20+
# ```
2121

2222
FROM nvidia/cuda:12.3.1-devel-ubuntu22.04
2323

0 commit comments

Comments
 (0)