fix: docker build not working (#1365)

This commit is contained in:
Meier Lukas authored and GitHub committed 2024-10-24 22:45:36 +02:00
1 parent 2bac28a50a
commit 041006c181
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -30,6 +30,9 @@ COPY --from=builder /app/cli-out/json/ .
COPY --from=builder /app/next-out/json/ .
COPY --from=builder /app/pnpm-lock.yaml ./pnpm-lock.yaml
# Is used for postinstall of docs definitions
COPY --from=builder /app/packages/definitions/src/docs ./packages/definitions/src/docs
# Uses the lockfile to install the dependencies
RUN corepack enable pnpm && pnpm install --recursive --frozen-lockfile
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "homarr",
"private": true,
"scripts": {
"build": "turbo build",
"build": "cross-env CI=true turbo build",
"clean": "git clean -xdf node_modules",
"clean:workspaces": "turbo clean",
"cli": "pnpm with-env tsx packages/cli/index.ts",