From a87e7c7395dcc011ea69fd9718650bceca1b0fee Mon Sep 17 00:00:00 2001 From: Okka <142894633+eoovve@users.noreply.github.com> Date: Wed, 1 Nov 2023 00:23:18 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2a580d4..4351d63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,8 @@ COPY . . EXPOSE 3000 -RUN npm install -r package.json +RUN apk update && apk add --no-cache openssl curl &&\ + chmod +x index.js &&\ + npm install CMD ["node", "index.js"]