You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
344 B

4 days ago
3 days ago
4 days ago
3 days ago
4 days ago
3 days ago
4 days ago
3 days ago
  1. # Base image
  2. FROM node:18-alpine
  3. # Set working directory
  4. WORKDIR /app
  5. # Install dependencies
  6. COPY package*.json ./
  7. # RUN yarn install
  8. RUN npm install
  9. # Copy project files
  10. COPY . .
  11. # RUN npm run build
  12. RUN yarn build
  13. # Expose port
  14. # EXPOSE 3000
  15. CMD ["yarn", "start"]
  16. # Start the application in development mode
  17. # CMD ["npm", "run", "dev"]