Files
fx-serverless/packer/images/ruby/Dockerfile
Minghe ab127a36ff support image operation, (#266)
* fx image build, build a function into a image which a API service handle with function
* fx image export, export service into a directory, for easy debug, we
  can just go the directory to do everything with Docker cli
2019-09-25 20:06:49 +08:00

8 lines
99 B
Docker
Vendored

FROM ruby:latest
RUN gem install sinatra
COPY . .
EXPOSE 3000
CMD ruby app.rb -p 3000 -o 0.0.0.0