mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 03:33:58 -05:00
e07cd62596
This rewrite follows the principles of https://diataxis.fr/ Co-authored-by: Erik Michelson <github@erik.michelson.eu> Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Erik Michelson <github@erik.michelson.eu>
22 lines
682 B
Markdown
22 lines
682 B
Markdown
# Building Docker images
|
|
|
|
To build Docker images of the backend or frontend use the following commands.
|
|
Make sure that you have installed the [Docker BuildKit Plugin][buildkit] and
|
|
execute the commands from the root level of the project.
|
|
Otherwise, the build process may fail.
|
|
|
|
<!-- markdownlint-disable proper-names -->
|
|
```shell
|
|
docker buildx build -f backend/docker/Dockerfile -t hedgedoc-backend .
|
|
```
|
|
<!-- markdownlint-enable proper-names -->
|
|
|
|
or
|
|
|
|
<!-- markdownlint-disable proper-names -->
|
|
```shell
|
|
docker buildx build -f frontend/docker/Dockerfile -t hedgedoc-frontend .
|
|
```
|
|
<!-- markdownlint-enable proper-names -->
|
|
|
|
[buildkit]: https://docs.docker.com/build/install-buildx/
|