1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00
mxpv-podsync/Dockerfile
jtagcat 34c708d5f4 readd WORKDIR /app
`config.toml` uses relative path, from the current directory, `$PWD` by default is `/`.

commit f337f6c8b16acad6f6a86648f72061e098652040
removed `WORKDIR /app`, and `/config.toml` was used instead of `/app/config.toml`.
The change was breaking, unexpected and undocumented.
As users already mount `/app/config.toml`, revert to using it.

Revert 16315c0e126598e79460d84190181f5cf5a2c8fb
(what was workaround for breaking change,
though there is no need to break anything here)

Closes #270

+ requested: podsync located again at /app/podsync, instead of /podsync
2022-01-02 17:40:17 +02:00

15 lines
434 B
Docker

# This is a template to be used by GoReleaser.
# 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 /app/podsync
ENTRYPOINT ["/app/podsync"]
CMD ["--no-banner"]