Giter Club home page Giter Club logo

bun-docker's Introduction

bun-docker

Deploy a simple Bun HTTP server on Render

Bun is a JavaScript runtime that serves as a bundler, test runner, and package manager.

Prerequisites

Refer to the Bun documentation to install Bun.

Usage

bun install

To run this app locally, first run bun install to install the dependencies.

bun dev

Run bun dev to start the server locally.

Running the app in dev uses the --hot reload flag, which Bun uses to re-run changed files without restarting the bun process.

The server will run on port 8081 if not PORT is specified. Visit http://localhost:8081 to view the app.

bun start

Run bun start to start the server locally without the --hot reload flag.

Deploy to Render

Use the official Bun Docker image to deploy this app to Render.

Manual deploy

  1. Fork this repo on GitHub or click Use this template.
  2. Create a new web service on Render, and give Render permission to access your new repo.
  3. Select Docker as your service's runtime.

That's it! Your web service will be live on your Render URL as soon as the build finishes.

One-click deploy

Deploy to Render

bun-docker's People

Contributors

metonym avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.