- 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
13 lines
350 B
Docker
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;"]
|