Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 20 additions & 13 deletions docker/Dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,26 @@ ENV DEBIAN_FRONTEND=noninteractive \

# System packages (if needed, keep minimal)
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && \
rm -rf /var/lib/apt/lists/*

# Upgrade pip and install Python deps
RUN pip install --upgrade pip && \
pip install \
"nicegui>=2.0.0" \
"nicegui-highcharts>=0.2.0" \
"vllm>=0.11.0" \
"llmcompressor" \
"transformers>=4.52.0" \
"datasets" "accelerate" "safetensors" \
"huggingface_hub" "hf_transfer" "tqdm" \
"pandas"
apt-get clean && \
rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*

# Upgrade pip
RUN pip install --upgrade pip

# Install Python dependencies
RUN pip install "datasets"

RUN pip install "pandas" "huggingface_hub" "hf_transfer" "tqdm"

RUN pip install "accelerate" "safetensors"

RUN pip install "nicegui>=2.0.0" "nicegui-highcharts>=0.2.0"

RUN pip install "vllm>=0.11.0"

Copilot AI Nov 3, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove trailing whitespace on line 29.

Suggested change
RUN pip install "vllm>=0.11.0"
RUN pip install "vllm>=0.11.0"

Copilot uses AI. Check for mistakes.

Comment on lines +27 to +30

Copilot AI Nov 3, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove trailing whitespace on lines 27 and 28.

Suggested change
RUN pip install "nicegui>=2.0.0" "nicegui-highcharts>=0.2.0"
RUN pip install "vllm>=0.11.0"
RUN pip install "nicegui>=2.0.0" "nicegui-highcharts>=0.2.0"
RUN pip install "vllm>=0.11.0"

Copilot uses AI. Check for mistakes.
RUN pip install "transformers>=4.52.0"

RUN pip install "llmcompressor"

Comment on lines +21 to 34

Copilot AI Nov 3, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Splitting pip install commands into multiple RUN statements creates additional Docker layers and increases build time. Each RUN command creates a new layer, and splitting dependencies that could be installed together results in redundant pip overhead. Consider grouping related dependencies into fewer RUN commands (e.g., data processing libraries together, UI libraries together) to optimize layer caching while reducing total layers.

Suggested change
RUN pip install "datasets"
RUN pip install "pandas" "huggingface_hub" "hf_transfer" "tqdm"
RUN pip install "accelerate" "safetensors"
RUN pip install "nicegui>=2.0.0" "nicegui-highcharts>=0.2.0"
RUN pip install "vllm>=0.11.0"
RUN pip install "transformers>=4.52.0"
RUN pip install "llmcompressor"
RUN pip install \
"datasets" \
"pandas" \
"huggingface_hub" \
"hf_transfer" \
"tqdm" \
"accelerate" \
"safetensors" \
"nicegui>=2.0.0" \
"nicegui-highcharts>=0.2.0" \
"vllm>=0.11.0" \
"transformers>=4.52.0" \
"llmcompressor"

Copilot uses AI. Check for mistakes.
WORKDIR /workspace

Expand Down