From 69bd253af56d0fdcc61f86f2b37846221fb5fc9e Mon Sep 17 00:00:00 2001 From: moreal Date: Thu, 24 Oct 2024 22:05:58 +0900 Subject: [PATCH] Run `corepack enable` in Docker image --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 61caed7..c57cebd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,5 +13,7 @@ COPY --from=build-env /build/dist /app COPY --from=build-env /build/node_modules /app/node_modules COPY package.json /app +RUN corepack enable + WORKDIR /app ENTRYPOINT ["/usr/local/bin/node", "index.js"]