mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-30 03:12:28 +00:00
2 files changed
+16
-2
No files matched your search
+6
-2
@@ -9,6 +9,10 @@ RUN matrix-video-chat/scripts/dockerbuild.sh
|
||||
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
|
||||
@@ -0,0 +1,10 @@
|
||||
server {
|
||||
listen 8080;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
root /app;
|
||||
try_files $uri /$uri /index.html;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user