Skip to content

Commit

Permalink
pocketbase sert les fichiers
Browse files Browse the repository at this point in the history
  • Loading branch information
bachrc committed Oct 20, 2024
1 parent de823e8 commit 4d0cd5b
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 37 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
context: .
push: true
target: app
build-args: |
PUBLIC_POCKETBASE_URL=/
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64/v8
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM denoland/deno:2.0.0 AS base

ARG PB_VERSION=0.22.21
ARG ARCH=arm64
ARG

USER root
RUN mkdir -p /home/deno && chown -R deno:deno /home/deno
Expand All @@ -16,6 +17,7 @@ ADD --chown=deno:deno https://github.com/pocketbase/pocketbase/releases/download
RUN unzip /tmp/pb.zip -d /home/deno/.local/pb/

FROM base AS build
ARG PUBLIC_POCKETBASE_URL
WORKDIR /app
USER deno
COPY --chown=deno:deno package.json deno.lock .
Expand Down
70 changes: 35 additions & 35 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-static": "^3.0.5",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0-next.6",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@types/eslint": "^9.6.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.0.0",
Expand All @@ -26,7 +26,7 @@
"postcss": "^8.4.47",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"svelte": "^5.0.0-next.1",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"sveltekit-superforms": "^2.19.0",
"tailwindcss": "^3.4.13",
Expand Down
Empty file removed pb_migrations/trigger
Empty file.

0 comments on commit 4d0cd5b

Please sign in to comment.