# Use the official Node.js image as the base image FROM node:latest # Update the package lists and install default-mysql-client RUN apt-get update && apt-get install -y nano && apt-get install -y default-mysql-client # Set the working directory WORKDIR /app # Copy application files COPY . . # Install application dependencies RUN npm install # Expose port 3000 EXPOSE 3000 # Define the command to run your application CMD ["npm", "start"]