Dockerfile 519 B

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