Skip to content

Commit

Permalink
feat(docker): refine working dir and volume
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Jul 27, 2022
1 parent 0cfa1d3 commit 02d64b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:3.8.5-alpine

WORKDIR /app

RUN apk update -f \
&& apk add --no-cache -f \
bash \
Expand All @@ -21,10 +23,8 @@ RUN apk update -f \

RUN pip install --no-cache-dir --upgrade streamlink yq yt-dlp

COPY ./live-dl /app/
COPY ./config.example.yml /app/config.yml
RUN chmod a+x /app/live-dl

VOLUME /app/
COPY ./live-dl ./
COPY ./config.example.yml ./config.yml
RUN chmod a+x ./live-dl

ENTRYPOINT ["/app/live-dl"]
ENTRYPOINT ["./live-dl"]

0 comments on commit 02d64b8

Please sign in to comment.