Fixing up deployment
This commit is contained in:
@@ -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
|
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/
|
RUN unzip /tmp/pb.zip -d /pb/
|
||||||
|
|
||||||
# uncomment to copy the local pb_migrations dir into the image
|
|
||||||
COPY ./pb_migrations /pb/pb_migrations
|
COPY ./pb_migrations /pb/pb_migrations
|
||||||
|
|
||||||
# uncomment to copy the local pb_hooks dir into the image
|
|
||||||
COPY ./pb_hooks /pb/pb_hooks
|
COPY ./pb_hooks /pb/pb_hooks
|
||||||
|
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|||||||
@@ -8,8 +8,8 @@
|
|||||||
"build": "vite build && tsc",
|
"build": "vite build && tsc",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"docker:build:app": "docker build -t docker.havenisms.com/lazy-dm/app -f docker/app.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/pocketsbase.dockerfile .",
|
"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"
|
"docker:build": "npm run docker:build:app && npm run docker:build:pocketbase"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -42,7 +42,10 @@ export const SceneForm = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
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>
|
<h3>Create new scene</h3>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
|
|||||||
Reference in New Issue
Block a user