Skip to content

Instantly share code, notes, and snippets.

@grant
Last active April 21, 2020 20:58
Show Gist options
  • Select an option

  • Save grant/08eda5ebe8228123507dfabfdeb40083 to your computer and use it in GitHub Desktop.

Select an option

Save grant/08eda5ebe8228123507dfabfdeb40083 to your computer and use it in GitHub Desktop.
Ruby FF Dockerfile
FROM ruby:2.7
WORKDIR /app
COPY . .
RUN gem install --no-document bundler \
&& bundle config --local frozen true \
&& bundle config --local without "development test" \
&& bundle install
ENTRYPOINT ["bundle", "exec", "functions-framework", "--target=hello"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment