diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 686c096..eee8a2d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,8 +30,6 @@ jobs: context: . platforms: linux/amd64,linux/arm64 push: true - cache-from: type=registry,ref=${{ secrets.REPO_HOST }}/${{ github.repository_owner }}/${{ github.event.repository.name }}:buildcache - cache-to: type=registry,ref=${{ secrets.REPO_HOST }}/${{ github.repository_owner }}/${{ github.event.repository.name }}:buildcache,mode=max tags: | ${{ secrets.REPO_HOST }}/${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ github.sha }} ${{ secrets.REPO_HOST }}/${{ github.repository_owner }}/${{ github.event.repository.name }}:latest diff --git a/Dockerfile b/Dockerfile index 684ce5b..d30f053 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,6 @@ COPY . . # Create node_modules directory and install dependencies RUN deno cache -r main.ts -# Pre-cache npm deps with proper node_modules setup -RUN deno task npm:init || echo "No npm:init task defined, continuing" - # Build Fresh application in a more controlled way (without task) RUN deno run -A dev.ts build || deno run -A --unstable-worker-options --node-modules-dir main.ts build