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 \
ffmpeg
ADD requirements.txt /app/
RUN cd /app && pip install -U -r requirements.txt
ADD requirements.txt /spotify-downloader/
RUN cd /spotify-downloader && pip install -U -r requirements.txt
ADD spotdl.py /app/
ADD core/ /app/core
ADD spotdl.py /spotify-downloader/
ADD core/ /spotify-downloader/core
WORKDIR /app
WORKDIR /spotify-downloader
ENTRYPOINT ["python3", "spotdl.py", "-f", "."]
ENTRYPOINT ["python3", "spotdl.py", "-f", "/spotify-downloader"]