Skip to content
Permalink
Browse files

dockerfile for cloudron image

  • Loading branch information...
joelmccracken committed Dec 12, 2017
1 parent 38640f7 commit 5edc4a6e48924139f4cb9f75c723f2c7680f24fd
Showing with 22 additions and 0 deletions.
  1. +19 −0 Dockerfile
  2. +3 −0 start.sh
@@ -0,0 +1,19 @@
FROM cloudron/base:0.10.0
MAINTAINER Joel McCracken <mccracken.joel@gmail.com>

EXPOSE 4567

RUN mkdir -p /app/code
WORKDIR /app/code

RUN gem install bundler

RUN apt-get update && apt-get install libsqlite3-dev

ADD . /app/code

ENV RACK_ENV production

RUN bundle

CMD [ "/app/code/start.sh" ]
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

bundle exec rackup -p 4567 config.ru

0 comments on commit 5edc4a6

Please sign in to comment.
You can’t perform that action at this time.