integration layer; merge work on indicators from forks with existing ingestion pipeline
This commit is contained in:
+11
-6
@@ -1,10 +1,15 @@
|
||||
FROM node:22-slim
|
||||
|
||||
# Production image: build the Angular app, serve the static bundle with
|
||||
# nginx, and reverse-proxy the API paths to the `webapi` compose service —
|
||||
# the same routing `proxy.conf.json` gives `ng serve` in development, so the
|
||||
# app's relative `/imports`, `/data`, ... calls work unchanged.
|
||||
FROM node:22-slim AS build
|
||||
WORKDIR /app
|
||||
COPY package.json package-lock.json* ./
|
||||
RUN npm install
|
||||
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN npx ng build --configuration production
|
||||
|
||||
EXPOSE 4200
|
||||
CMD ["npx", "ng", "serve", "--host", "0.0.0.0", "--port", "4200"]
|
||||
FROM nginx:1.27-alpine
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=build /app/dist/WebApp/browser /usr/share/nginx/html
|
||||
EXPOSE 80
|
||||
|
||||
Reference in New Issue
Block a user