from python:3 COPY requirements.txt ./ RUN pip install -r ./requirements.txt RUN mkdir /beets VOLUME /beets ENV BEETSDIR=/beets RUN apt-get update && apt-get install -y --no-install-recommends vim ENV EDITOR=vim ENTRYPOINT ["/usr/local/bin/beet"]