18 lines
486 B
Docker
18 lines
486 B
Docker
# 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 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"]
|