switch from nginx to SWS for serving the app (docker image)

This commit is contained in:
Aine 2024-09-03 14:02:35 +03:00
parent 2142770a5b
commit 317df5af0f
No known key found for this signature in database
GPG key ID: 34969C908CCA2804
3 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@ on:
branches: [ "main" ]
env:
upstream_version: v0.10.3
etke_version: etke6
etke_version: etke7
bunny_version: v0.1.0
permissions:
checks: write

View file

@ -18,9 +18,8 @@ COPY . /src
RUN yarn build --base=$BASE_PATH
# App
FROM nginx:stable-alpine
FROM ghcr.io/static-web-server/static-web-server:2
ENV SERVER_ROOT /app
COPY --from=builder /src/dist /app
RUN rm -rf /usr/share/nginx/html \
&& ln -s /app /usr/share/nginx/html

View file

@ -29,6 +29,7 @@ The following changes are already implemented:
* [Add ability to toggle whether to show locked users](https://github.com/Awesome-Technologies/synapse-admin/pull/573)
* [Fix user's display name in header on user's page](https://github.com/etkecc/synapse-admin/pull/9)
* [Fix footer overlapping content](https://github.com/Awesome-Technologies/synapse-admin/issues/574)
* Switch from nginx to [SWS](https://static-web-server.net/) for serving the app
_the list will be updated as new changes are added_