From 0888f5bd001f02e6dc20b561d75347cf4126a3e0 Mon Sep 17 00:00:00 2001 From: Meadowsys Date: Fri, 17 Nov 2023 21:03:48 -0800 Subject: [PATCH] containerfile formatting --- Containerfile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Containerfile b/Containerfile index d000d1a..dd97503 100644 --- a/Containerfile +++ b/Containerfile @@ -5,9 +5,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ software-properties-common \ && rm -rf /var/lib/apt/lists/* -# RUN useradd -m sani -# USER sani - ENV PNPM_VERSION 8.6.12 ENV PNPM_HOME /root/.local/share/pnpm ENV PATH ${PATH}:/root/.local/share/pnpm @@ -17,19 +14,11 @@ RUN curl -fsSL https://get.pnpm.io/install.sh | SHELL=`/bin/bash` sh - \ ENV NODE_VERSION 14.21.3 RUN pnpm env use -g ${NODE_VERSION} -WORKDIR /home/sani/app - +WORKDIR /home/canni/app COPY . . - RUN pnpm i --frozen-lockfile -P -# RUN pnpm lint - -# RUN pnpm prune --prod && pnpm store prune - COPY LICENSE LICENSE - ENV NODE_ENV production - CMD ["node", "main.js"]