# Use Node.js as the base image FROM node:18 # Set the working directory WORKDIR /app # Copy package.json and package-lock.json (if available) COPY package*.json ./ # Install dependencies RUN npm install # Copy the rest of the application code COPY . . # Create a directory for markdown files RUN mkdir -p /markdown # Expose the port your app runs on EXPOSE 3000 # Command to run the application CMD ["npm", "start"]