added 260907 version of worker toolkit
This commit is contained in:
23
worker-toolkit-flaredown/repo/backend/Dockerfile
Normal file
23
worker-toolkit-flaredown/repo/backend/Dockerfile
Normal file
@@ -0,0 +1,23 @@
|
||||
FROM ruby:3.2.3
|
||||
|
||||
# set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# install dependencies
|
||||
RUN apt-get update -qq && \
|
||||
apt-get install -y nodejs postgresql-client
|
||||
|
||||
# install bundler
|
||||
RUN gem install bundler:2.5.6
|
||||
|
||||
# copy the Gemfile and Gemfile.lock to the container
|
||||
COPY Gemfile Gemfile.lock ./
|
||||
|
||||
# install the gems
|
||||
RUN bundle install --full-index
|
||||
|
||||
# copy the rest of the application files to the container
|
||||
COPY . .
|
||||
|
||||
# start the server
|
||||
CMD ["bundle", "exec", "puma", "-C", "config/puma.rb"]
|
||||
Reference in New Issue
Block a user