Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile #31

Merged
merged 1 commit into from
Apr 14, 2024
Merged

Add Dockerfile #31

merged 1 commit into from
Apr 14, 2024

Conversation

sammcj
Copy link
Contributor

@sammcj sammcj commented Apr 13, 2024

fixes #17

Copy link

vercel bot commented Apr 13, 2024

@sammcj is attempting to deploy a commit to the morphic Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Apr 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
morphic ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 13, 2024 8:26am

Copy link
Owner

@miurla miurla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!
I can't test it right now, but were there any issues?

Copy link
Owner

@miurla miurla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@miurla miurla merged commit a9a47f1 into miurla:main Apr 14, 2024
2 checks passed
@mayi
Copy link

mayi commented Apr 16, 2024

In my opinion it would be better to compile first and then run.

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

RUN cd /app && bun run build

WORKDIR /app

CMD ["bun", "run", "start"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker deploy support
3 participants