Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
chore: fix pnpm cache
Kyle Mendell91956573cf3a
diff --git a/.depot/workflows/build-next-images.yml b/.depot/workflows/build-next-images.ymlindex 5a824bc13..773f6766f 100644--- a/.depot/workflows/build-next-images.yml+++ b/.depot/workflows/build-next-images.yml@@ -1,4 +1,4 @@-name: Build Next Images+name: Build Next Versions of Arcane and CLIon:push:@@ -16,7 +16,7 @@ permissions:jobs:build-next-images:- runs-on: depot-ubuntu-24.04-8+ runs-on: depot-ubuntu-24.04-32env:MANAGER_IMAGE_NAME: ghcr.io/${{ github.repository_owner }}/arcane@@ -29,9 +29,9 @@ jobs:fetch-depth: 0- name: Setup PNPM- uses: pnpm/action-setup@v5+ uses: pnpm/action-setup@v6with:- run_install: false+ run_install: true- name: Setup Justuses: taiki-e/install-action@just@@ -52,7 +52,7 @@ jobs:run: sudo apt-get update && sudo apt-get install -y gettext-base- name: Install cosign- uses: sigstore/[email protected]+ uses: sigstore/[email protected]- name: Set up Depot CLIuses: depot/setup-action@v1diff --git a/docker/Dockerfile b/docker/Dockerfileindex f8e7ada2d..15c1b5108 100644--- a/docker/Dockerfile+++ b/docker/Dockerfile@@ -12,12 +12,12 @@ WORKDIR /buildCOPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./COPY frontend/package.json ./frontend/package.json-RUN --mount=type=cache,id=pnpm,target=/pnpm/store \+RUN --mount=type=cache,id=arcane-pnpm-v2,target=/pnpm/store,sharing=locked \pnpm fetchCOPY frontend ./frontend-RUN --mount=type=cache,id=pnpm,target=/pnpm/store \+RUN --mount=type=cache,id=arcane-pnpm-v2,target=/pnpm/store,sharing=locked \pnpm install -r --offline --frozen-lockfileENV BUILD_PATH=dist@@ -99,4 +99,4 @@ VOLUME ["/app/data"]LABEL com.getarcaneapp.arcane="true"-CMD ["./arcane"]\ No newline at end of file+CMD ["./arcane"]diff --git a/docker/Dockerfile.dev b/docker/Dockerfile.devindex fff2c3db8..354c2317c 100644--- a/docker/Dockerfile.dev+++ b/docker/Dockerfile.dev@@ -16,14 +16,14 @@ COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./COPY frontend/package.json ./frontend/package.json# Fetch dependencies with cache mount-RUN --mount=type=cache,id=pnpm,target=/pnpm/store \+RUN --mount=type=cache,id=arcane-pnpm-v2,target=/pnpm/store,sharing=locked \pnpm fetch# Copy frontend sourceCOPY frontend ./frontend# Install from the store (offline)-RUN --mount=type=cache,id=pnpm,target=/pnpm/store \+RUN --mount=type=cache,id=arcane-pnpm-v2,target=/pnpm/store,sharing=locked \pnpm install -r --offline --frozen-lockfileENV NODE_ENV=development \