dockerfile 144 B

123456789
  1. # syntax=docker/dockerfile:1
  2. from node:18-alpine
  3. workdir /app
  4. copy . .
  5. run yarn install --production
  6. cmd ["node", "src/index.js"]
  7. expose 3000