Last active
November 1, 2017 11:29
-
-
Save jdelStrother/072cdae761873b3babfd5b645abf3b6f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
web: | |
build: . | |
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'" | |
ports: | |
- "5000:3000" | |
volumes: | |
- .:/usr/src/app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ruby:2.4 | |
# Versions: https://pypi.python.org/pypi/awscli#downloads | |
ENV AWS_CLI_VERSION 1.11.178 | |
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends \ | |
python-dev build-essential groff less && \ | |
curl -o /tmp/get-pip.py https://bootstrap.pypa.io/get-pip.py && \ | |
python /tmp/get-pip.py && \ | |
pip --no-cache-dir install awscli==${AWS_CLI_VERSION} && \ | |
rm -rf /var/lib/apt/lists/* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment