https://github.com/xanonymous-github/mojo-docker
The dockerfile for using mojo.
https://github.com/xanonymous-github/mojo-docker
ai docker mojo python
Last synced: about 2 months ago
JSON representation
The dockerfile for using mojo.
- Host: GitHub
- URL: https://github.com/xanonymous-github/mojo-docker
- Owner: Xanonymous-GitHub
- License: gpl-3.0
- Created: 2023-10-02T00:25:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-02T00:44:06.000Z (almost 3 years ago)
- Last Synced: 2025-02-22T23:23:19.924Z (over 1 year ago)
- Topics: ai, docker, mojo, python
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/xanonymous/mojo
- Size: 21.5 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Mojo Docker Image
This Docker image encapsulates the Mojo setup to provide a straightforward and isolated environment for running Mojo
applications. You can either pull the pre-built image from Docker Hub or build the image yourself.
## Using Pre-built Image
The Mojo Docker image is available on Docker Hub under the repository `xanonymous/mojo`. You can pull and use this image
by running the following command:
```bash
docker run -it xanonymous/mojo
```
## Building The Image Yourself
If you prefer to build the image yourself, you can do so using the provided `Dockerfile`. You will need to provide your
Modular authentication key via the `mojo_auth_key` file. Here's the command to build the image:
```bash
DOCKER_BUILDKIT=1 docker build --secret id=modular_auth,src=./mojo_auth_key -t mojo .
```
Replace the example key in the key file with your actual Modular authentication key.
Once the image is built, you can run a container from it using the following command:
```bash
docker run -it mojo
```
This will provide you with an isolated environment for running Mojo applications.
## Contributing
Feel free to contribute to the development of this Docker image by submitting issues or pull requests on the repository
hosting this Dockerfile.