diff --git a/Dockerfile b/Dockerfile index 358f0e37..d7202d19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,10 +2,13 @@ # See docs for details: https://goreleaser.com/customization/docker/ FROM alpine:3.10 +WORKDIR /app + RUN wget -O /usr/bin/youtube-dl https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl && \ chmod +x /usr/bin/youtube-dl && \ apk --no-cache add ca-certificates python ffmpeg tzdata -COPY podsync /podsync +COPY podsync /app/podsync + -ENTRYPOINT ["/podsync"] +ENTRYPOINT ["/app/podsync"] CMD ["--no-banner"] diff --git a/docker-compose.yml b/docker-compose.yml index 68c97c64..7aeb6f25 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,4 +9,4 @@ services: - 80:80 volumes: - ./data:/data/ - - ./config.toml:/config.toml + - ./config.toml:/app/config.toml