Reduce Docker build memory usage
Some checks failed
Build and Deploy Gateway / build-and-deploy (push) Failing after 0s

This commit is contained in:
2026-05-08 17:27:56 +03:00
parent 81bed1513c
commit 7d41dd86e7

View File

@@ -8,6 +8,7 @@ RUN npm run build
FROM debian:bookworm-slim
ARG SINGBOX_VERSION=1.12.13
COPY --from=ui-build /app/dist /app/dist
RUN apt-get update \
&& apt-get install -y --no-install-recommends ca-certificates curl iptables iproute2 nodejs dumb-init \
@@ -27,7 +28,6 @@ RUN set -eux; \
rm -rf /tmp/sing-box*
WORKDIR /app
COPY --from=ui-build /app/dist /app/dist
COPY package.json /app/package.json
COPY src/server /app/src/server
COPY entrypoint.sh /entrypoint.sh