Skip to content

This project demonstrates how to create and deploy with Docker a basic webserver using MoonBit and Mocket webserver, and more generally how to wrap a Moonbit app in a Docker container via NodeJS 24.

License

Notifications You must be signed in to change notification settings

Metalymph/moon_webserver_example

Repository files navigation

Overview

This project demonstrates how to create and deploy with Docker a basic webserver using MoonBit and Mocket webserver, and more generally how to wrap a Moonbit app in a Docker container via NodeJS 24.

Getting Started

  1. Make sure you have MoonBit installed on your system
  2. Clone this repository
  3. Compile/Run commands with make:
    • make docker-build (build image)
    • make docker-clean (clean Unix IP/socket)
    • make docker-run (run container in detatched and remove mode)
    • make native-dev
    • make native-watch (watchexec required)
    • make native-prod
  4. Just commands are the same using just instead of make CLI util.

About

This project demonstrates how to create and deploy with Docker a basic webserver using MoonBit and Mocket webserver, and more generally how to wrap a Moonbit app in a Docker container via NodeJS 24.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published