Skip to content

Commit

Permalink
Updating Dockerfile to used locally cloned repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
casistack committed Aug 12, 2024
1 parent 12832a8 commit df8531f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

0 comments on commit df8531f

Please sign in to comment.