Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b65874a6fc | ||
|
|
28b7e76ce0 | ||
|
|
31845dea10 | ||
|
|
b1a75a5033 | ||
|
|
032d623acb |
10
Dockerfile
10
Dockerfile
@@ -6,9 +6,13 @@ COPY . /src/matrix-video-chat
|
||||
RUN matrix-video-chat/scripts/dockerbuild.sh
|
||||
|
||||
# App
|
||||
FROM nginx:alpine
|
||||
FROM nginxinc/nginx-unprivileged:alpine
|
||||
|
||||
COPY --from=builder /src/matrix-video-chat/dist /app
|
||||
COPY scripts/default.conf /etc/nginx/conf.d/
|
||||
|
||||
RUN rm -rf /usr/share/nginx/html \
|
||||
&& ln -s /app /usr/share/nginx/html
|
||||
USER root
|
||||
|
||||
RUN rm -rf /usr/share/nginx/html
|
||||
|
||||
USER 101
|
||||
|
||||
10
scripts/default.conf
Normal file
10
scripts/default.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 8080;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
root /app;
|
||||
try_files $uri /$uri /index.html;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
set -ex
|
||||
|
||||
VITE_DEFAULT_HOMESERVER=https://call.ems.host
|
||||
VITE_SENTRY_DSN=https://b1e328d49be3402ba96101338989fb35@sentry.matrix.org/41
|
||||
export VITE_DEFAULT_HOMESERVER=https://call.ems.host
|
||||
export VITE_SENTRY_DSN=https://b1e328d49be3402ba96101338989fb35@sentry.matrix.org/41
|
||||
|
||||
git clone https://github.com/matrix-org/matrix-js-sdk.git
|
||||
cd matrix-js-sdk
|
||||
|
||||
Reference in New Issue
Block a user