1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Merge pull request #271 from jtagcat/patch-1

fixup: Dockerfile: reinstate location of config.toml
This commit is contained in:
Maksym Pavlenko
2022-01-02 17:42:46 +02:00
committed by GitHub
2 changed files with 6 additions and 3 deletions

View File

@ -2,10 +2,13 @@
# See docs for details: https://goreleaser.com/customization/docker/ # See docs for details: https://goreleaser.com/customization/docker/
FROM alpine:3.10 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 && \ 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 && \ chmod +x /usr/bin/youtube-dl && \
apk --no-cache add ca-certificates python ffmpeg tzdata apk --no-cache add ca-certificates python ffmpeg tzdata
COPY podsync /podsync COPY podsync /app/podsync
ENTRYPOINT ["/podsync"]
ENTRYPOINT ["/app/podsync"]
CMD ["--no-banner"] CMD ["--no-banner"]

View File

@ -9,4 +9,4 @@ services:
- 80:80 - 80:80
volumes: volumes:
- ./data:/data/ - ./data:/data/
- ./config.toml:/config.toml - ./config.toml:/app/config.toml