attempt a Docker file but it fails on step 5

This commit is contained in:
2026-05-27 20:37:33 -06:00
parent df442df869
commit c010c861b4
6 changed files with 1408 additions and 1215 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM node:22-alpine
RUN corepack enable && corepack prepare pnpm@11.4.0 --activate
WORKDIR /app
COPY package.json pnpm-lock.yaml pnpm.yaml ./
RUN pnpm install --prod
COPY src ./src
COPY tsconfig.json ./
ENV NODE_ENV=production
ENV PORT=3000
EXPOSE 3000
CMD ["node", "--import", "tsx/esm", "src/index.ts"]