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