This commit is contained in:
parent
e22e58a944
commit
d49781df6b
1 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
FROM ruby:3.2-slim
|
FROM ruby:3.2-slim
|
||||||
LABEL fnkit.fn="true"
|
LABEL fnkit.fn="true"
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY Gemfile Gemfile.lock ./
|
COPY Gemfile ./
|
||||||
RUN bundle install
|
RUN bundle install
|
||||||
COPY . .
|
COPY . .
|
||||||
CMD ["bundle", "exec", "functions-framework-ruby", "--target=hello"]
|
EXPOSE 8080
|
||||||
|
CMD ["bundle", "exec", "functions-framework-ruby", "--target=hello", "--port=8080"]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue