{"id":17187339,"url":"https://github.com/nicell/docker-lune","last_synced_at":"2025-07-27T08:32:19.236Z","repository":{"id":247164956,"uuid":"825168007","full_name":"Nicell/docker-lune","owner":"Nicell","description":"Docker files for Lune","archived":false,"fork":false,"pushed_at":"2024-10-07T18:00:53.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-30T18:54:20.904Z","etag":null,"topics":["docker","dockerfile","luau","lune"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/nicell/lune","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nicell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-07T01:55:08.000Z","updated_at":"2024-10-07T17:59:56.000Z","dependencies_parsed_at":"2024-07-09T12:06:03.990Z","dependency_job_id":null,"html_url":"https://github.com/Nicell/docker-lune","commit_stats":null,"previous_names":["nicell/docker-lune"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicell%2Fdocker-lune","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicell%2Fdocker-lune/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicell%2Fdocker-lune/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nicell%2Fdocker-lune/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nicell","download_url":"https://codeload.github.com/Nicell/docker-lune/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227782229,"owners_count":17819228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","dockerfile","luau","lune"],"created_at":"2024-10-15T01:06:04.545Z","updated_at":"2024-12-02T18:43:02.075Z","avatar_url":"https://github.com/Nicell.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Lune\n\nDocker files for [Lune](https://github.com/lune-org/lune).\n\nAvailable images:\n- Debian: [`nicell/lune:debian`](https://hub.docker.com/r/nicell/lune)\n  - Default. Uses the `debian:stable-slim` base image.\n- Distroless: [`nicell/lune:distroless`](https://hub.docker.com/r/nicell/lune)\n  - Barebones image. Uses the `gcr.io/distroless/cc` base image. No shell, package manager, or other tools are included.\n- Binary only: [`nicell/lune:bin`](https://hub.docker.com/r/nicell/lune)\n  - Contains only the Lune binary. Used for adding Lune to other images.\n\n## Run Lune\n\nEnter the Lune REPL:\n\n```bash\ndocker run -it nicell/lune repl\n```\n\nEnter the container shell:\n\n```bash\ndocker run -it nicell/lune sh\n```\n\nRun a `server.luau` file:\n\n```bash\ndocker run --init -it -p 3000:3000 -v $PWD:/app nicell/lune run app/server\n```\n\nThe `--init` flag is required to properly handle signals such as `SIGINT` from `CTRL+C`. `-p 3000:3000` maps the container port 3000 to the host port 3000. `-v $PWD:/app` mounts the current directory to the `/app` directory in the container.\n\n## Dockerfile Usage\n\n```Dockerfile\nFROM nicell/lune\n\n# Port your app listens on\nEXPOSE 3000\n\nWORKDIR /app\n\nCOPY . .\n\n# Run server.luau\nCMD [\"run\", \"server\"]\n```\n\n## Custom Base Image\n\nYou can use the `nicell/lune:bin` image to add Lune to any base image.\n\n```Dockerfile\nFROM ubuntu\nCOPY --from=nicell/lune:bin /lune /usr/local/bin/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicell%2Fdocker-lune","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicell%2Fdocker-lune","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicell%2Fdocker-lune/lists"}