1234567891011121314151617181920 |
- FROM ruby:3.2-alpine
- WORKDIR /app
- ADD _config.yml /app/
- ADD _config_prod.yml /app/
- ADD package.json /app/
- ADD pnpm-lock.yaml /app/
- ADD gulpfile.js /app/
- RUN apk add --virtual build-dependencies build-base npm
- RUN apk upgrade
- RUN npm i -g pnpm
- RUN pnpm install
- # website
- EXPOSE 3000
- # website management (browser auto reload)
- EXPOSE 3001
- # run tabler
- ENTRYPOINT [ "pnpm", "run", "start" ]
|