Dockerfile 399 B

1234567891011121314151617181920
  1. FROM ruby:3.2-alpine
  2. WORKDIR /app
  3. ADD _config.yml /app/
  4. ADD _config_prod.yml /app/
  5. ADD package.json /app/
  6. ADD pnpm-lock.yaml /app/
  7. ADD gulpfile.js /app/
  8. RUN apk add --virtual build-dependencies build-base npm
  9. RUN apk upgrade
  10. RUN npm i -g pnpm
  11. RUN pnpm install
  12. # website
  13. EXPOSE 3000
  14. # website management (browser auto reload)
  15. EXPOSE 3001
  16. # run tabler
  17. ENTRYPOINT [ "pnpm", "run", "start-plugins" ]