From 5f9910dd9b1c455834906745a4ef6e135402a8ea Mon Sep 17 00:00:00 2001 From: Damian Figiel Date: Wed, 10 Jul 2024 08:38:13 +0200 Subject: [PATCH] Fix curl install --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 31061c2ac..e5dd4c157 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:18-alpine AS node FROM node AS node-with-gyp -RUN apk add g++ make python3 curl +RUN apk add g++ make python3 FROM node-with-gyp AS builder WORKDIR /squid @@ -24,6 +24,7 @@ COPY --from=deps /squid/package.json . COPY --from=deps /squid/package-lock.json . COPY --from=deps /squid/node_modules node_modules COPY --from=builder /squid/lib lib +RUN apk add curl RUN echo -e "loglevel=silent\nupdate-notifier=false" > /squid/.npmrc ADD db db ADD schema.graphql .