stevetunes/Containerfile
2022-08-15 22:52:41 -04:00

28 lines
464 B
Docker

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/*
RUN mkdir /srv/stevetunes
WORKDIR /srv/stevetunes
COPY Gemfile Gemfile.lock ./
RUN bundle install
COPY main.rb mpc_shim.rb util.rb ./
ENTRYPOINT ["ruby", "main.rb"]