Skip to content

Simple elm installation via docker and docker-compose.

License

Notifications You must be signed in to change notification settings

chatter/docker-elm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-elm

Simple Elm installation via Docker and Docker Compose.

Getting Started

You will need Docker and Docker Compose in order to run this with the minimal amount of effort. Once you have those tools installed check out the repo and run docker-compose up. This will run through the build process for the image and depending on your internet connection could take a few minutes. At the end of the build Docker Compose will start the web service, which launches the elm-reactor process. You can now visit http:https://localhost:8000 in your browser to see the website up and running.

There is a very basic Hello World if you go to /Main.elm. You can now edit the files in the directory and it will auto-reload.

There are a couple of instances of where you will have to rebuild your Docker image. If you add any packages via elm-package or modify the Dockerfile.

If you need provide environment variables to the container, you need to create a .env file in the root directory — which you may have noticed is included in the .gitignore file.

About

Simple elm installation via docker and docker-compose.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages