chore: cleanup unused files and update gitignore
Some checks failed
ci/woodpecker/push/build Pipeline failed
Some checks failed
ci/woodpecker/push/build Pipeline failed
- Remove MONETIZATION.md and README.md - Add dist/ to gitignore Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
ac04d7f346
commit
a045da82b7
6 changed files with 18 additions and 191 deletions
16
Dockerfile
16
Dockerfile
|
|
@ -1,16 +1,20 @@
|
|||
FROM node:22-alpine AS studio
|
||||
WORKDIR /app/studio
|
||||
COPY studio/package*.json ./
|
||||
FROM node:22-alpine AS frontends
|
||||
WORKDIR /app
|
||||
COPY frontends/package*.json ./
|
||||
COPY frontends/studio/package*.json ./studio/
|
||||
COPY frontends/owner-tools/package*.json ./owner-tools/
|
||||
COPY frontends/ui/package.json ./ui/
|
||||
RUN npm ci
|
||||
COPY studio/ ./
|
||||
RUN npm run build
|
||||
COPY frontends/ ./
|
||||
RUN npm run build --workspace=studio --workspace=owner-tools
|
||||
|
||||
FROM golang:1.24-alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
COPY --from=studio /app/studio/dist ./studio/dist
|
||||
COPY --from=frontends /app/studio/dist ./frontends/studio/dist
|
||||
COPY --from=frontends /internal/tenant/assets/js/owner-tools.js ./internal/tenant/assets/js/owner-tools.js
|
||||
RUN CGO_ENABLED=0 go build -o writekit .
|
||||
|
||||
FROM alpine:3.21
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue