build
Some checks failed
Deploy / publish-web (push) Failing after 25s
Deploy / publish-tauri (push) Failing after 10s

This commit is contained in:
2025-12-22 21:07:20 +06:00
parent 76f0ec74b5
commit 4c70dce568
3 changed files with 45 additions and 24 deletions

27
client/Dockerfile.web Normal file
View File

@@ -0,0 +1,27 @@
FROM node:lts-alpine AS builder
WORKDIR /app
RUN corepack enable
RUN yarn set version stable
COPY package.json yarn.lock .yarnrc.yml ./
RUN yarn install
COPY . .
ARG COMMIT_SHA=unknown
ARG API_BASE_URL
ENV COMMIT_SHA=$COMMIT_SHA \
API_BASE_URL=$API_BASE_URL
RUN yarn generate
FROM nginx:stable-alpine
COPY --from=builder /app/.output/public /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]