mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-26 16:30:57 +01:00
fix: docker build not working (#1365)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user