Gleam development quickstart with docker compose.
Some common docker compose commands can be invoked using the 'make' command with parameters:
make upd # start the container in daemon mode
make it # get a shell in the container as user 'appuser'
An ./app/
directory in your project is mounted inside the container
as /app/
.
Now run gleam
commands (in the container):
cd /app # This is your mounted directory
# create new projects in subdirectories of '/app':
gleam new --name hello ./hello # create new project 'hello'
cd hello
gleam test
Create new git repositories for the projects if needed. Outside the container:
cd app/hello
git init
# ...
https://hub.docker.com/repository/docker/miebach/gleam-docker/general