Commit Graph

9 Commits

Author SHA1 Message Date
Hugh Nimmo-Smith
a808d9395c Add note about change in port number and writable /tmp 2023-01-20 17:54:01 +00:00
Hugh Nimmo-Smith
d27aa137cf Build a docker image using unprivileged nginx
BREAKING CHANGE the exposed port has changed from 80 to 8080
2023-01-20 13:31:14 +00:00
Hugh Nimmo-Smith
b993bc0955 Build docker image for multiple architectures including ARM
This is based on https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/ which doesn't use QEMU
2023-01-19 17:07:55 +00:00
Bruno Windels
365d017df3
Merge pull request #982 from vector-im/hughns/dynamic-config
Allow config override in docker image
2023-01-17 08:50:18 +00:00
Hugh Nimmo-Smith
df6474b637 Allow config override in docker image 2023-01-11 18:06:25 +00:00
Hugh Nimmo-Smith
21d0c4d9b0
Make consistent 2023-01-09 18:56:18 +00:00
Hugh Nimmo-Smith
3706ff4f35
Docker builds are currently hosted on GHCR not GitLab 2023-01-09 18:49:03 +00:00
Jan Christian Grünhage
bc2e7a7366 chore: optimise Dockerfile
So far, the Dockerfile built hydrogen on the server running the image,
instead of building it during the building of the image. This blew up
the image size immensely and caused node+yarn to run in the resulting
image. This new Dockerfile builds hydrogen in a separate build stage and
then moves the target directory into an nginx based container image,
which takes care of serving the target webroot.

The existing Dockerfile has been moved to Dockerfile-dev for usage as a
development environment. The docs have been adjusted accordingly.

Additionally, this switched from a fixed alpine version of the node
image to the latest alpine version, and changed the container image
references in the `FROM` statements to use the fully qualified
references including the registry domain.
2021-03-14 12:52:35 +01:00
Bruno Windels
430da8766f docker instructions 2021-02-08 12:43:53 +01:00