stevetunes/Containerfile

29 lines
476 B
Plaintext
Raw Permalink Normal View History

2022-08-15 22:52:41 -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++ \
2022-08-21 14:57:33 -04:00
mpc \
2022-08-15 22:52:41 -04:00
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"]