Sign inSign up

aifrak/phoenix

By aifrak

•Updated over 5 years ago

Installation of a dockerized Phoenix / Elixir. https://github.com/aifrak/phoenix-docker

Image
0

618

aifrak/phoenix repository overview

⁠Phoenix in Docker

Installation of dockerized Phoenix / Elixir (Debian).

Docker Cloud Build Status Docker Image Version (latest semver) Docker Pulls GitHub

⁠How to use this image

Short syntax:

docker run --rm -it \
  -v [DIR]:/app \
  aifrak/phoenix

Long syntax:

docker run --rm -it \
  -p [PORT]:[PORT] \
  -v [DIR]:/app \
  aifrak/phoenix

This example runs the image with the current host directory inside the container and with port 4000 exposed.

docker run --rm -it \
  -p 4000:4000 \
  -v $(pwd):/app \
  aifrak/phoenix
⁠PORT

Port to expose. If -p is not set, 4000 by default.

⁠DIR

Directory of your project on the host. Its content will copied inside the container under /app.

⁠/app

Directory in the container which will contain your Phoenix project.

It is also the default working directory of the container.

⁠Default user

The default user used by the container is app-user. Its user folder is also created inside the /home.

⁠Docker

docker pull aifrak/phoenix

⁠Quick references

⁠Inspirations

⁠Technologies

Tag summary

Content type

Image

Digest

Size

157.3 MB

Last updated

over 5 years ago

docker pull aifrak/phoenix