Fixing up deployment

This commit is contained in:
Drew Haven 2025-06-01 11:15:25 -07:00
parent 9c0d9326e0
commit 9cfdfbaf23
3 changed files with 6 additions and 6 deletions

View File

@ -11,10 +11,7 @@ RUN apk add --no-cache \
ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_amd64.zip /tmp/pb.zip
RUN unzip /tmp/pb.zip -d /pb/
# uncomment to copy the local pb_migrations dir into the image
COPY ./pb_migrations /pb/pb_migrations
# uncomment to copy the local pb_hooks dir into the image
COPY ./pb_hooks /pb/pb_hooks
EXPOSE 8080

View File

@ -8,8 +8,8 @@
"build": "vite build && tsc",
"serve": "vite preview",
"test": "vitest run",
"docker:build:app": "docker build -t docker.havenisms.com/lazy-dm/app -f docker/app.dockerfile .",
"docker:build:pocketbase": "docker build -t docker.havenisms.com/lazy-dm/pocketbase -f docker/pocketsbase.dockerfile .",
"docker:build:app": "docker build -t docker.havenisms.com/lazy-dm/app -f docker/app.dockerfile --build-arg VITE_POCKETBASE_URL=/api .",
"docker:build:pocketbase": "docker build -t docker.havenisms.com/lazy-dm/pocketbase -f docker/pocketbase.dockerfile .",
"docker:build": "npm run docker:build:app && npm run docker:build:pocketbase"
},
"dependencies": {

View File

@ -42,7 +42,10 @@ export const SceneForm = ({
}
return (
<form className="flex items-center gap-2 mt-4" onSubmit={handleSubmit}>
<form
className="flex flex-col items-left gap-2 mt-4"
onSubmit={handleSubmit}
>
<h3>Create new scene</h3>
<input
type="text"