# Use the official Node.js image as the base imageFROM node:18# Set the working directory in the containerWORKDIR /usr/src/app# Copy package.json and package-lock.jsonCOPY package*.json ./# Install dependenciesRUN npm install# Copy the rest of the application codeCOPY . .# Build the Nuxt applicationRUN npm run build# Expose the port the app runs onEXPOSE 3000# Command to run the Nuxt applicationCMD [ "npm", "run", "start" ]