Skip to content

Instantly share code, notes, and snippets.

@wshihadeh
Created February 27, 2020 07:53
Show Gist options
  • Save wshihadeh/b5544a896cba8ce37b3142b468681ac2 to your computer and use it in GitHub Desktop.
Save wshihadeh/b5544a896cba8ce37b3142b468681ac2 to your computer and use it in GitHub Desktop.
Dockerfile
ENV PORT 8080
ENV RACK_ENV=production RAILS_ENV=production
ENV RAILS_LOG_TO_STDOUT=true
ENV SECRET_KEY_BASE changeme
EXPOSE 8080
HEALTHCHECK CMD curl --fail http://localhost:8080/ || exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment