# Use an official Node.js image
FROM node:20-alpine

# Set working directory inside the container
WORKDIR /app

# Copy package files
COPY package.json .

# Install dependencies
RUN npm install

# Copy the rest of your application code
COPY . .

# Expose the application port
EXPOSE 5001

# Start the application
CMD ["npm", "start"]
