Skip to content

An AI-powered search engine with a generative UI

Updating Dockerfile to used locally cloned repo.

casistackdf8531f6ef1e
diff --git a/Dockerfile b/Dockerfile
index fc4706d7..0eedf1b1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,13 +1,15 @@
+
FROM oven/bun:1.1.3-alpine
RUN apk add --no-cache nodejs npm git
-RUN git clone --depth=1 https://github.com/miurla/morphic /app && \
- rm -rf /app/.git && \
- cd /app && \
- bun i && \
- bun next telemetry disable
-
WORKDIR /app
-CMD ["bun", "dev"]
+COPY package.json bun.lockb ./
+RUN bun install
+
+COPY . .
+
+RUN bun next telemetry disable
+
+CMD ["bun", "dev", "-H", "0.0.0.0"]