fix: move dist to web-dist/ to avoid dockerignore conflicts
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user