mirror of
https://github.com/THIS-IS-NOT-A-BACKUP/zspotify.git
synced 2025-07-01 15:23:15 +00:00

This reverts commit 898e20dc6dbfeca3c52cfc157f000af84c281a06, reversing changes made to 938b64775383586e86c9a357097292487cbccc6d.
20 lines
421 B
Docker
20 lines
421 B
Docker
FROM python:3.9-alpine as base
|
|
|
|
RUN apk --update add git ffmpeg
|
|
|
|
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
|
|
COPY src /app
|
|
COPY zs_config.json /
|
|
WORKDIR /app
|
|
ENTRYPOINT ["/usr/local/bin/python", "app.py"]
|