mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
feat(doc): Add docker docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
7b2d541cac
commit
352de8e7b9
1 changed files with 19 additions and 0 deletions
19
docs/content/dev/docker.md
Normal file
19
docs/content/dev/docker.md
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Build
|
||||||
|
|
||||||
|
To build docker images of the backend or frontend use the following commands.
|
||||||
|
Make sure that you have installed the [Docker BuildKit Plugin](https://docs.docker.com/build/install-buildx/) and
|
||||||
|
execute the commands from the root level of the project.
|
||||||
|
Otherwise, the build process may fail.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker buildx build -f backend/docker/Dockerfile -t hedgedoc-backend .
|
||||||
|
```
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
```sh
|
||||||
|
docker buildx build -f frontend/docker/Dockerfile -t hedgedoc-frontend .
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue