zotify/Dockerfile

19 lines
397 B
Docker
Raw Normal View History

2021-12-25 22:25:14 -07:00
FROM python:3.9-alpine as base
2022-02-16 10:19:01 -07:00
RUN apk --update add ffmpeg
2021-12-25 22:25:14 -07:00
FROM base as builder
RUN mkdir /install
WORKDIR /install
COPY requirements.txt /requirements.txt
RUN apk add gcc libc-dev zlib zlib-dev jpeg-dev \
&& pip install --prefix="/install" -r /requirements.txt
FROM base
COPY --from=builder /install /usr/local
2022-02-16 10:19:01 -07:00
COPY zotify /app/zotify
2021-12-25 22:25:14 -07:00
WORKDIR /app
2022-02-16 10:19:01 -07:00
ENTRYPOINT ["python3", "-m", "zotify"]