discourse/bin/docker
David Taylor 80b9c280ba
DEV: Switch to pnpm for JS dependencies (#28671)
This will bring significant improvements to install speed & storage requirements. For information on how it may affect you, see https://meta.discourse.org/t/324521

This commit:
- removes the `yarn.lock` and replaces with `pnpm-lock.yaml`
- updates workspaces to pnpm format
- adjusts package dependencies to work with pnpm's stricter resolution strategy
- updates Rails app to load modules from more specific node_modules directories
- adds a `.pnpmfile` which automatically cleans up old yarn-managed `node_modules` directories
- updates various scripts to call `pnpm` instead of `yarn`
- updates patches to use pnpm's native patch system instead of patch-package
- adds a patch for licensee to support pnpm
2024-09-03 10:51:07 +01:00
..
README.md Remove Docker dev-install instructions 2018-11-16 15:17:21 +05:30
boot_dev DEV: Switch to pnpm for JS dependencies (#28671) 2024-09-03 10:51:07 +01:00
bundle DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
cleanup DEV: Add docker cleanup script to d/ folder 2020-03-01 12:09:07 -08:00
discourse DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
ember-cli DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
exec DEV: Add env var to bin/docker/exec (#25187) 2024-01-09 12:31:08 -06:00
mailhog DEV: use mailhog in our docker dev environment (#14549) 2021-10-08 11:10:46 +05:30
migrate DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
psql DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
rails DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
rake DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
reset_db Fix docker image name (#8058) 2019-09-04 16:19:48 +10:00
rspec DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
shell DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
shell_root DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00
shutdown_dev Improve docker performance with `delegated` mount flag (#5760) 2018-04-16 10:56:35 +02:00
unicorn DEV: Update docker development binstubs 2021-05-21 16:51:10 +01:00

README.md

Developing using Docker

Since Discourse runs in Docker, why not develop there? If you have Docker installed, you should be able to run Discourse directly from your source directory using a Discourse development container.

You can find installation instructions and related discussion in this meta topic: https://meta.discourse.org/t/beginners-guide-to-install-discourse-for-development-using-docker/102009

Where is the container image/Dockerfile defined?

The Dockerfile comes from discourse/discourse_docker on GitHub, in particular image/discourse_dev.