mirror of
https://github.com/sredevopsorg/deepseek-kubernetes-sandbox.git
synced 2026-11-03 01:13:24 +00:00
fix(Dockerfile): update runtime dependencies and enable corepack for pnpm
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -47,6 +47,7 @@ RUN cd /opt/dsh \
|
|||||||
FROM ${NODE_RUNTIME_IMAGE} AS runtime
|
FROM ${NODE_RUNTIME_IMAGE} AS runtime
|
||||||
|
|
||||||
ARG DSH_VERSION
|
ARG DSH_VERSION
|
||||||
|
ARG PNPM_VERSION=11.28.5
|
||||||
|
|
||||||
LABEL org.opencontainers.image.title="DeepSeek Harness Web packaged by SREDevOps.org" \
|
LABEL org.opencontainers.image.title="DeepSeek Harness Web packaged by SREDevOps.org" \
|
||||||
org.opencontainers.image.version="${DSH_VERSION}" \
|
org.opencontainers.image.version="${DSH_VERSION}" \
|
||||||
@@ -64,9 +65,16 @@ RUN apt-get update \
|
|||||||
ca-certificates \
|
ca-certificates \
|
||||||
git \
|
git \
|
||||||
ripgrep \
|
ripgrep \
|
||||||
|
jq \
|
||||||
|
yq \
|
||||||
|
curl \
|
||||||
|
wget \
|
||||||
tini \
|
tini \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& install -d -o node -g node -m 0755 /workspace "${DSH_HOME}"
|
&& install -d -o node -g node -m 0755 /workspace "${DSH_HOME}" \
|
||||||
|
&& corepack enable \
|
||||||
|
&& corepack prepare "pnpm@${PNPM_VERSION}" --activate \
|
||||||
|
&& pnpm --version
|
||||||
|
|
||||||
COPY --from=build --chown=node:node /opt/dsh /app
|
COPY --from=build --chown=node:node /opt/dsh /app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user