Update Dockerfile

This commit is contained in:
Ritiek Malhotra
2017-12-21 13:46:27 +05:30
committed by GitHub
parent 93388418f0
commit 6242c2d7c0

View File

@@ -3,12 +3,12 @@ FROM python:3.6-alpine
RUN apk add --no-cache \ RUN apk add --no-cache \
ffmpeg ffmpeg
ADD requirements.txt /app/ ADD requirements.txt /spotify-downloader/
RUN cd /app && pip install -U -r requirements.txt RUN cd /spotify-downloader && pip install -U -r requirements.txt
ADD spotdl.py /app/ ADD spotdl.py /spotify-downloader/
ADD core/ /app/core ADD core/ /spotify-downloader/core
WORKDIR /app WORKDIR /spotify-downloader
ENTRYPOINT ["python3", "spotdl.py", "-f", "."] ENTRYPOINT ["python3", "spotdl.py", "-f", "/spotify-downloader"]