mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-08 20:39:08 +00:00
Update Dockerfile
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user