chore: restart the repository with a clean history
CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s
CI / Docker image (push) Successful in 12s
CI / Server (push) Successful in 25s
CI / CLI (push) Successful in 13s
Development image / Development image (push) Successful in 21s
CI / CLI (windows) (push) Successful in 57s
CI / CLI (linux-arm64, static) (push) Successful in 1m37s
Release / Prepare release (push) Successful in 2s
Release / Server (linux-x64) (push) Successful in 53s
Release / CLI (linux-arm64, static) (push) Successful in 1m32s
Release / Docker image (push) Successful in 2m48s
Release / Server (windows-x64) (push) Successful in 6m20s
Release / CLI (windows-x64) (push) Successful in 6m48s
Release / CLI (linux-x64) (push) Successful in 7m8s
Release / Publish release (push) Successful in 1s
Squash the tree into one commit, drop docs/architecture.html, reset the version line to 0.3.0, consolidate the changelog, enable Renovate automerge for non-major updates and add AGENTS.md.
This commit is contained in:
438 files changed
+45070
No files matched your search
+55
@@ -0,0 +1,55 @@
|
||||
FROM node:26-alpine3.24 AS client-builder
|
||||
|
||||
WORKDIR /app/client
|
||||
|
||||
COPY client/package.json client/package-lock.json ./
|
||||
RUN for i in 1 2 3; do npm ci --no-audit --no-fund && break || sleep 15; done
|
||||
|
||||
COPY client/ .
|
||||
RUN npm run build
|
||||
|
||||
|
||||
FROM node:26-alpine3.24 AS server-builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apk add --no-cache python3 make g++
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN for i in 1 2 3; do npm ci --omit=dev --no-audit --no-fund && break || sleep 15; done
|
||||
|
||||
|
||||
FROM node:26-alpine3.24
|
||||
|
||||
ARG VERSION
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json ./
|
||||
RUN if [ -n "$VERSION" ]; then \
|
||||
apk add --no-cache jq && jq --arg v "$VERSION" '.version = $v' package.json > tmp.json && mv tmp.json package.json; \
|
||||
fi
|
||||
|
||||
COPY --from=server-builder /app/node_modules ./node_modules
|
||||
COPY server/ server/
|
||||
COPY --from=client-builder /app/client/dist ./client/dist
|
||||
|
||||
ENV NODE_ENV=production \
|
||||
FRISLIT_LISTEN=0.0.0.0 \
|
||||
FRISLIT_PORT=8080 \
|
||||
FRISLIT_CONFIG=/app/data/config.yml \
|
||||
FRISLIT_DATA_DIR=/app/data
|
||||
|
||||
RUN apk add --no-cache su-exec \
|
||||
&& mkdir -p /app/data \
|
||||
&& chown -R node:node /app \
|
||||
&& rm -rf /usr/local/lib/node_modules/npm /usr/local/lib/node_modules/corepack \
|
||||
/usr/local/bin/npm /usr/local/bin/npx /usr/local/bin/corepack
|
||||
|
||||
COPY packaging/docker-entrypoint.sh /usr/local/bin/frislit-entrypoint
|
||||
RUN chmod +x /usr/local/bin/frislit-entrypoint
|
||||
|
||||
VOLUME ["/app/data"]
|
||||
EXPOSE 8080 80 443
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/frislit-entrypoint"]
|
||||
CMD ["node", "server/index.js"]
|
||||
Reference in new issue
Block a user