moex-vibe/docker/Dockerfile.frontend
Sergey Krylov d4a7ccf1c9 feat: Sprint 6 - documentation and infrastructure
- Docker setup (Dockerfile.backend, Dockerfile.frontend, nginx, docker-compose)
- Architecture overview with Mermaid sequence diagram
- README with quick start and Docker instructions
- Verify OpenAPI spec and ADR docs
2026-06-13 19:27:52 +03:00

13 lines
350 B
Docker

FROM node:20-alpine AS build
WORKDIR /app
COPY package.json tsconfig.base.json ./
COPY apps/frontend/ apps/frontend/
RUN npm install
RUN npm run build -w apps/frontend
FROM nginx:alpine
COPY --from=build /app/apps/frontend/dist /usr/share/nginx/html
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]