]> Untitled Git - lemmy.git/blob - docs/src/contributing_docker_development.md
Isomorphic docker (#1124)
[lemmy.git] / docs / src / contributing_docker_development.md
1 # Docker Development
2
3 ## Running
4
5 ```bash
6 sudo apt install git docker-compose
7 git clone https://github.com/LemmyNet/lemmy
8 cd lemmy/docker/dev
9 sudo docker-compose up --no-deps --build
10 ```
11
12 and go to http://localhost:1235.
13
14 *Note: many features (like docs and pictures) will not work without using an nginx profile like that in `ansible/templates/nginx.conf`.
15
16 To speed up the Docker compile, add the following to `/etc/docker/daemon.json` and restart Docker.
17 ```
18 {
19   "features": {
20     "buildkit": true
21   }
22 }
23 ```
24
25 If the build is still too slow, you will have to use a
26 [local build](contributing_local_development.md) instead.