tig-monorepo/tig-benchmarker/ui/Dockerfile
FiveMovesAhead 2fa8ca7535
Some checks are pending
Test Workspace / Test Workspace (push) Waiting to run
Add versions to all benchmarker containers.
2025-06-04 16:00:26 +01:00

22 lines
341 B
Docker

FROM node:latest AS build
WORKDIR /app
COPY ui/ .
RUN npm install -g @angular/cli
RUN npm install --legacy-peer-deps
ARG CONFIG
RUN ng build
FROM nginx:latest
COPY --from=build /app/dist/tig-brenchmarker-ui/browser /usr/share/nginx/html
COPY ui/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]