morphic icon indicating copy to clipboard operation
morphic copied to clipboard

Docker deploy support

Open tcmonster opened this issue 1 year ago • 2 comments

Do you have any plans to support local docker deployment?

tcmonster avatar Apr 10 '24 16:04 tcmonster

Untested with API keys but should work.

FROM oven/bun:1.1.3-alpine

WORKDIR /app

COPY . .

RUN apk add --no-cache nodejs npm && bun i

CMD ["bun", "dev"]

Run with:

git clone https://github.com/miurla/morphic && cd morphic
# create Dockerfile and copy content above into it
docker build -t morphic .
docker run -d -v $PWD/.env.local:/app/.env.local --name morphic -p 3000:3000 morphic

dsymbol avatar Apr 11 '24 13:04 dsymbol

Thanks I'll try it

tcmonster avatar Apr 11 '24 15:04 tcmonster