Skip to content

chaz8080/hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello

Overview

This project serves as a base to understand and build a simple application deployment via distillery. Since this deployment needs to be built on a linux system, the use of docker simplifies the process further. This project assumes the developer is using Windows 10.

Prereqs

Install Docker

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco install -y docker-desktop

Build a release

First build the image that will contain the OTP release:

docker build . -t elixir-app

Run your release:

docker run --rm -it -p 4000:4001 -e PORT=4001 elixir-app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published