enzostvs/deepsite
17k
1FROM node:20-alpine2USER root3 4# Install pnpm5RUN corepack enable && corepack prepare pnpm@latest --activate6 7USER 10008WORKDIR /usr/src/app9# Copy package.json and pnpm-lock.yaml to the container10COPY --chown=1000 package.json pnpm-lock.yaml ./11 12# Copy the rest of the application files to the container13COPY --chown=1000 . .14 15RUN pnpm install16RUN pnpm run build17 18# Expose the application port (assuming your app runs on port 3000)19EXPOSE 300120 21# Start the application22CMD ["pnpm", "start"]