From d09598dd3f52d6290f84ea1cf6ded9ca105035c3 Mon Sep 17 00:00:00 2001 From: Uzurka <101745008+Uzurka@users.noreply.github.com> Date: Sun, 12 Mar 2023 14:53:35 +0100 Subject: [PATCH] fix: Dockerfile (#394) * Update Dockerfile * Fix chmod command Fix the path so it can stay in the `builder` step, so it doesn't add a layer to the image. --------- Co-authored-by: Isaac --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7cd2482..ae5d9a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,9 @@ RUN apk add --no-cache make gcc g++ python3 RUN npm install -g pnpm COPY package.json pnpm-lock.yaml ./ COPY --link scripts scripts +RUN chmod +x ./scripts/start.sh # install dependencies, CI=true to skip pre/postinstall scripts RUN CI=true pnpm install --prod --frozen-lockfile -RUN chmod +x /usr/bot/scripts/start.sh COPY --link . . FROM node:18-alpine AS runner