stevefolder/Containerfile

29 lines
472 B
Plaintext
Raw Permalink Normal View History

2022-08-11 14:56:39 -04:00
FROM ruby:3.1.2-alpine
RUN apk upgrade --update && \
apk add --no-cache \
bash \
ca-certificates \
curl \
less \
libstdc++ \
libressl-dev \
g++ \
tzdata \
make \
shared-mime-info \
zlib-dev && \
rm -rf /var/cache/apk/*
2022-08-10 22:22:37 -04:00
RUN mkdir /srv/stevefolder
WORKDIR /srv/stevefolder
2022-08-11 14:56:39 -04:00
COPY Gemfile Gemfile.lock ./
RUN bundle install
COPY main.rb folder.rb ./
2022-08-10 22:22:37 -04:00
RUN mkdir spool
ENTRYPOINT ["ruby", "main.rb"]