Dockerfile 167 B

1234567891011121314
  1. FROM node:16-alpine3.11
  2. ENV NUXT_PORT=80
  3. ENV NUXT_HOST=0.0.0.0
  4. EXPOSE 80
  5. COPY . .
  6. RUN yarn
  7. RUN yarn build
  8. RUN npm prune --production; exit 0
  9. CMD ["yarn", "start"]