-
Install Lucky in order to initialize projects: https://luckyframework.org/guides/installing/
-
Initialize a new project, then change to the project directory:
$lucky init my_project
$cd my_project
-
Add the
Dockerfile
,docker-compose.yml
, anddocker-compose.override.yml
files the root directory of the project. Dockerfile exists to build the application based off of a Docker image that I built to run Lucky: https://hub.docker.com/r/revgum/lucky/) -
Build the application
$docker-compose build
-
Start the application in docker
$docker-compose up