aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 8928951..753a80f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,9 @@
FROM node:24-slim AS posthook
-RUN apt-get update \
- && apt-get install -y --no-install-recommends curl \
- && rm -rf /var/lib/apt/lists/*
+RUN (apt-get update -qq > /tmp/apt-update.log 2>&1 \
+ && DEBIAN_FRONTEND=noninteractive apt-get install -y -qq --no-install-recommends curl > /tmp/apt-install.log 2>&1) \
+ || (cat /tmp/apt-update.log /tmp/apt-install.log && exit 1) \
+ && rm -rf /var/lib/apt/lists/* /tmp/apt-*.log
WORKDIR /app