Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

Update Dockerfile-affine

DarkSky14d7085ec3d7
diff --git a/.github/deployment/Dockerfile-affine b/.github/deployment/Dockerfile-affine
index 46a46233f2..5cf4243eab 100644
--- a/.github/deployment/Dockerfile-affine
+++ b/.github/deployment/Dockerfile-affine
@@ -2,7 +2,7 @@ FROM node:16-alpine as builder
WORKDIR /app
COPY . .
RUN apk add g++ make python3 git libpng-dev
-RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build:local
+RUN npm i -g pnpm@7 && pnpm i --frozen-lockfile --store=node_modules/.pnpm-store && pnpm run build:local --skip-nx-cache
FROM node:16-alpine as relocate
WORKDIR /app
@@ -18,4 +18,4 @@ WORKDIR /app
COPY --from=relocate /app .
EXPOSE 3000
-CMD ["caddy", "run"]
\ No newline at end of file
+CMD ["caddy", "run"]