[GH-ISSUE #26] Request for Dockerfile or Prebuilt Docker Container #20

Closed
opened 2026-10-26 21:11:06 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @Emilio942 on GitHub (Dec 29, 2024).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V3/issues/26

Hi,

I’m using the DeepSeek-V3-Base model and have set up everything manually so far. However, it would be much more convenient if there were an official Dockerfile or prebuilt Docker container available for easier integration.

Does an official Docker setup for this model exist? If not, would it be possible to provide one?
A prebuilt container bundling the model and its dependencies would greatly simplify the deployment process for users.

Thank you in advance for your help!
Looking forward to your response.

Best regards,
Emilio Frittrang

Are there any specific optimizations or configurations required to efficiently run the DeepSeek-V3-Base model in a Docker environment?

Base image

FROM python:3.10-slim

Install git and clean up temporary files

RUN apt-get update && apt-get install -y git && apt-get clean && rm -rf /var/lib/apt/lists/*

Set working directory

WORKDIR /app

Clone the repository and install dependencies

RUN git clone https://github.com/deepseek-ai/DeepSeek-V3.git . &&
pip install --no-cache-dir -r inference/requirements.txt

Default command to run the model

CMD ["python", "inference/generate.py"]

Originally created by @Emilio942 on GitHub (Dec 29, 2024). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V3/issues/26 Hi, I’m using the `DeepSeek-V3-Base` model and have set up everything manually so far. However, it would be much more convenient if there were an official Dockerfile or prebuilt Docker container available for easier integration. Does an official Docker setup for this model exist? If not, would it be possible to provide one? A prebuilt container bundling the model and its dependencies would greatly simplify the deployment process for users. Thank you in advance for your help! Looking forward to your response. Best regards, Emilio Frittrang Are there any specific optimizations or configurations required to efficiently run the DeepSeek-V3-Base model in a Docker environment? # Base image FROM python:3.10-slim # Install git and clean up temporary files RUN apt-get update && apt-get install -y git && apt-get clean && rm -rf /var/lib/apt/lists/* # Set working directory WORKDIR /app # Clone the repository and install dependencies RUN git clone https://github.com/deepseek-ai/DeepSeek-V3.git . && \ pip install --no-cache-dir -r inference/requirements.txt # Default command to run the model CMD ["python", "inference/generate.py"]
Author
Owner

@GeeeekExplorer commented on GitHub (Dec 31, 2024):

Actually the infer demo is slow but the compatibility is good because we built the demo entirely using pytorch and triton code. No special configuration is required.

<!-- gh-comment-id:2566222627 --> @GeeeekExplorer commented on GitHub (Dec 31, 2024): Actually the infer demo is slow but the compatibility is good because we built the demo entirely using pytorch and triton code. No special configuration is required.
Author
Owner

@mowentian commented on GitHub (Dec 31, 2024):

For actual deployment, you can use the Docker files provided by sglang, lmdeploy, or vllm, among others. The community support for us is also quite robust.

<!-- gh-comment-id:2566280508 --> @mowentian commented on GitHub (Dec 31, 2024): For actual deployment, you can use the Docker files provided by sglang, lmdeploy, or vllm, among others. The community support for us is also quite robust.
Author
Owner

@Emilio942 commented on GitHub (Jan 5, 2025):

thank you.

<!-- gh-comment-id:2571751875 --> @Emilio942 commented on GitHub (Jan 5, 2025): thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-V3#20
No description provided.