Skip to content

Instantly share code, notes, and snippets.

@mjquinlan2000
Last active October 20, 2017 21:31
Show Gist options
  • Save mjquinlan2000/35a3ff6b355a7c62bbed1cdbd401b966 to your computer and use it in GitHub Desktop.
Save mjquinlan2000/35a3ff6b355a7c62bbed1cdbd401b966 to your computer and use it in GitHub Desktop.
Dockerized Google App Deploy
#!/bin/bash
docker build -t myapp -f Dockerfile.build .
FROM elixir:1.5.2
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
apt-get install -y nodejs && \
mix local.hex --force && \
mix local.rebar --force
ENV MIX_ENV prod
CMD ["bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment