Add tenant-scoped Studio backend primitives and static asset allowlist

This commit is contained in:
khondokartowsif171
2026-10-18 20:21:08 +06:00
parent d5c004a27e
commit 3847a5e6a1
8 changed files with 511 additions and 4 deletions
+6 -4
View File
@@ -1,5 +1,6 @@
# Lightweight Alpine Nginx for Opal iOS Web App
FROM nginx:alpine
ARG NGINX_IMAGE=nginx:alpine
FROM ${NGINX_IMAGE}
# Remove default nginx static assets
RUN rm -rf /usr/share/nginx/html/*
@@ -7,9 +8,10 @@ RUN rm -rf /usr/share/nginx/html/*
# Copy custom nginx configuration
COPY nginx.conf /etc/nginx/conf.d/default.conf
# Copy all web assets, catalogs, and images
COPY . /usr/share/nginx/html/
RUN rm -f /usr/share/nginx/html/Dockerfile /usr/share/nginx/html/docker-compose.yml /usr/share/nginx/html/nginx.conf
# Publish web assets only. Backend source, tests and local configuration are not static downloads.
COPY index.html app.js style.css sw.js manifest.json gt_full_catalog.json /usr/share/nginx/html/
COPY assets/ /usr/share/nginx/html/assets/
COPY data/ /usr/share/nginx/html/data/
# Expose port 80 for Coolify Traefik reverse proxy
EXPOSE 80