med-notes/resource-provider/Dockerfile
2025-06-30 15:12:27 +00:00

24 lines
415 B
Docker

# Resource Provider (Node.js) Dockerfile
FROM node:22-alpine
# Set working directory
WORKDIR /app
# Install pnpm globally
RUN npm install -g pnpm
# Copy package.json and pnpm-lock.yaml
COPY package.json pnpm-lock.yaml* ./
# Install dependencies
RUN pnpm install --frozen-lockfile
# Copy the rest of the application
COPY . .
# Expose port
EXPOSE 3000
# Start the Node.js application
CMD ["node", "server.js"]