Container images and Woodpecker CI pipeline

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
azykov@mail.ru
2026-10-08 11:03:52 +03:00
co-authored by Claude Sonnet 5.5
parent c197e5978a
commit 52d8e0f7e0
10 changed files with 233 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
# Build context: repository root.
FROM node:22-alpine AS build
RUN corepack enable
WORKDIR /repo
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json tsconfig.base.json ./
COPY shared ./shared
COPY server-fe ./server-fe
RUN pnpm install --frozen-lockfile --filter @cardy/server-fe...
RUN pnpm --filter @cardy/server-fe build
FROM nginxinc/nginx-unprivileged:alpine
COPY docker/nginx-spa.conf /etc/nginx/conf.d/default.conf
COPY --from=build /repo/server-fe/dist /usr/share/nginx/html
EXPOSE 10001