# Base image FROM node:18-alpine # Set working directory WORKDIR /app # Install dependencies COPY package*.json ./ RUN yarn install #RUN npm install # Copy project files COPY . . RUN yarn build # Expose port EXPOSE 3000 CMD ["yarn", "start"] # Start the application in development mode #CMD ["npm", "run", "dev"]