From 6f3fc49e680b3b4f7eb9b21d71aff22e90ebf1fc Mon Sep 17 00:00:00 2001 From: Bervianto Leo Pratama Date: Sun, 24 Nov 2024 12:05:12 +0700 Subject: [PATCH] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 728ad3c..bd48786 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ FROM node:22-alpine as runner WORKDIR /app COPY --from=build /app/dist /app/dist COPY package.json yarn.lock .yarnrc.yml ./ -RUN corepack enable && yarn install --immutable --production && yarn cache clean +RUN corepack enable && yarn install --immutable && yarn cache clean RUN adduser -D ia && chown -R ia /app USER ia CMD [ "yarn", "start" ] \ No newline at end of file