16 lines
231 B
Docker
16 lines
231 B
Docker
# Use official Ruby image
|
|
FROM ruby:3.3-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy Gemfile
|
|
COPY Gemfile ./
|
|
|
|
# Install dependencies
|
|
RUN bundle install
|
|
|
|
# Copy source code
|
|
COPY uncloseai.rb ./
|
|
RUN chmod +x uncloseai.rb
|
|
|
|
CMD ["ruby", "uncloseai.rb"]
|