hedgedoc/docs/content/dev/docker.md
Tilman Vatteroth 352de8e7b9 feat(doc): Add docker docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:21:08 +01:00

19 lines
470 B
Markdown

# 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 .
```