From 559d10c561b232c2f056e14e9847ec19fa1f2c48 Mon Sep 17 00:00:00 2001 From: scambier Date: Thu, 12 Dec 2024 13:27:09 +0100 Subject: [PATCH] Delete Dofckerfile sveltekit node.md --- Dofckerfile sveltekit node.md | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 Dofckerfile sveltekit node.md diff --git a/Dofckerfile sveltekit node.md b/Dofckerfile sveltekit node.md deleted file mode 100644 index d9dcd76..0000000 --- a/Dofckerfile sveltekit node.md +++ /dev/null @@ -1,24 +0,0 @@ -FROM node:22-alpine AS base -ENV PNPM_HOME="/pnpm" -ENV PATH="$PNPM_HOME:$PATH" -RUN corepack enable -WORKDIR /app - -# Fetch dependencies -FROM base AS install -COPY pnpm-lock.yaml ./ -RUN pnpm fetch - -COPY . . -# Install production dependencies -RUN pnpm install --offline --prod --frozen-lockfile - -# Install dev dependencies (needed for the build step) -RUN pnpm install --offline --frozen-lockfile - -# Build -ENV NODE_ENV=production -RUN pnpm build - -ENTRYPOINT ["node", "build"] -EXPOSE 3000