adding local docker compose with local postgres
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM node:21-bullseye AS comfy_deploy
|
||||
|
||||
|
||||
|
||||
RUN npm install -g bun
|
||||
|
||||
COPY ./web /web
|
||||
|
||||
|
||||
WORKDIR /web
|
||||
|
||||
RUN cp .env.local.example .env.local
|
||||
|
||||
RUN bun i
|
||||
|
||||
ENTRYPOINT [ "bun", "dev" ]
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "comfy deploy container starting.."
|
||||
|
||||
echo "Running migrations.."
|
||||
bun migrate-local
|
||||
|
||||
echo "Starting comfy deploy.."
|
||||
bun dev
|
||||
Reference in New Issue
Block a user