Go to file
ben 5bc63fb30f
ben/synapse-admin-docker/pipeline/head This commit looks good Details
the build process changed
2024-06-26 16:12:18 +02:00
deb the build process changed 2024-06-26 16:12:18 +02:00
.dockerignore initial commit 2022-06-23 02:47:34 +02:00
.gitignore initial commit 2022-06-23 02:47:34 +02:00
Dockerfile the build process changed 2024-06-26 16:12:18 +02:00
Jenkinsfile Update Jenkinsfile 2024-04-08 16:33:49 +00:00
README.md the build process changed 2024-06-26 16:12:18 +02:00
build.sh the build process changed 2024-06-26 16:12:18 +02:00
vite.config.ts the build process changed 2024-06-26 16:12:18 +02:00

README.md

synapse-admin-docker

Build Status BSD-2-Clause version git github matrix

Overview

Builds and packages Awesome-Technologies/synapse-admin.

Build

Since its just a bunch of .html files, the base url (or prefix) needs to be set at build time, so we need to build this for source to be able to change it. Also because its just a bunch of .html files, theres no need for the nginx webserver in the upstream Docker image, so we just package the generated files up in a .deb package.

This used to be build with the same method as hydrogen-docker, but since then synapse-admin has changed. Now we need to override the vite.config.ts file in order to prevent the build processfrom tryingt to shell out to git for no reason at all, and the base url is set with the --base argument to vite build (called through yarn).

Nginx config

location /synapse-admin/ {
    alias /usr/local/share/synapse-admin/;
    charset utf-8;
    index index.html;
    autoindex off;
}