fix: move dist to web-dist/ to avoid dockerignore conflicts

This commit is contained in:
Dorian
2026-03-17 08:05:17 +00:00
parent 0ba07339f7
commit b162990b15
215 changed files with 5 additions and 18 deletions

View File

@@ -1,11 +1,5 @@
# Ignore everything except what the demo Dockerfiles need
*
# Allow neode-ui (frontend + mock backend + docker configs)
!neode-ui/
# Allow demo assets (AIUI pre-built dist)
!demo/
# Exclude node_modules (npm install happens in container for backend)
neode-ui/node_modules
neode-ui/src
neode-ui/public
neode-ui/.git
.git

View File

@@ -1,17 +1,10 @@
# Pre-built frontend — no build step needed
FROM nginx:alpine
# Copy pre-built frontend
COPY neode-ui/dist /usr/share/nginx/html
# Copy AIUI pre-built dist
COPY web-dist /usr/share/nginx/html
COPY demo/aiui/ /usr/share/nginx/html/aiui/
# Copy nginx config template and entrypoint
COPY neode-ui/docker/nginx-demo.conf /etc/nginx/nginx.conf.template
COPY neode-ui/docker/docker-entrypoint.sh /docker-entrypoint-custom.sh
RUN chmod +x /docker-entrypoint-custom.sh
EXPOSE 80
ENTRYPOINT ["/docker-entrypoint-custom.sh"]

Some files were not shown because too many files have changed in this diff Show More