This repository contains a script for create phoenix server image. DockerHub repository is here
You can use these tags as a version of elixir.
1.8.1, latest1.8.1-development1.8.01.8.0-development1.7.41.7.4-development1.7.31.7.3-development1.7.21.7.2-development1.7.11.7.1-development1.7.01.7.0-development1.6.61.6.6-development1.6.51.6.5-development1.6.41.6.4-development1.6.31.6.3-development1.6.21.6.2-development1.6.11.6.1-development1.6.01.6.0-development1.5.21.5.2-development1.5.11.5.1-development1.5.01.5.0-development1.4.51.4.5-development1.4.41.4.4-development1.4.31.4.3-development1.4.21.4.2-development1.4.11.4.1-development1.4.01.4.0-development1.4.0-rc.11.4.0-rc.1-development1.4.0-rc.01.3.41.3.4-development1.3.31.3.21.3.11.3.01.2.61.2.51.2.3development tags are including node.js and utilities to automatically compile assets on development environment.
Run below command in your phoenix project directory.
docker run -d -p 4000:4000 -v $(pwd):/app -w /app shufo/phoenix
app:
image: shufo/phoenix:1.8.1-development
container_name: myproject_app
hostname: app
expose:
- 4000
ports:
- "4000:4000"
- "4001:4001"
working_dir: /code
volumes:
- ".:/code"
environment:
- "PORT=4000"
- "ERL_AFLAGS=-kernel shell_history enabled"
links:
- mysql
Content type
Image
Digest
Size
118.8 MB
Last updated
over 7 years ago
docker pull shufo/phoenix