synapse-admin/Dockerfile
Manuel Stahl 4b1277f653 Rework configuration process
Dynamically loads `config.json` on startup.

Fixes #167, #284, #449, #486

Change-Id: I9efb1079c0c88e6e0272c5fda734a367aa8f84a3
2024-04-23 11:56:39 +02:00

18 lines
449 B
Docker

# Builder
FROM node:lts as builder
LABEL org.opencontainers.image.url=https://github.com/Awesome-Technologies/synapse-admin org.opencontainers.image.source=https://github.com/Awesome-Technologies/synapse-admin
WORKDIR /src
COPY . /src
RUN yarn --network-timeout=300000 install --immutable
RUN yarn build
# App
FROM nginx:stable-alpine
COPY --from=builder /src/build /app
RUN rm -rf /usr/share/nginx/html \
&& ln -s /app /usr/share/nginx/html