mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
Fix broken alpine dependency
This commit is contained in:
11
Dockerfile
11
Dockerfile
@ -1,11 +1,8 @@
|
||||
FROM alpine:3.10
|
||||
|
||||
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \
|
||||
apk update && \
|
||||
apk --no-cache add \
|
||||
ca-certificates \
|
||||
youtube-dl==2019.11.05-r1 \
|
||||
ffmpeg
|
||||
WORKDIR /app/
|
||||
RUN wget -O youtube-dl https://github.com/ytdl-org/youtube-dl/releases/download/2019.11.05/youtube-dl && \
|
||||
chmod +x youtube-dl && \
|
||||
apk --no-cache add ca-certificates python ffmpeg
|
||||
COPY podsync /app/podsync
|
||||
ENTRYPOINT ["/app/podsync"]
|
||||
CMD ["/app/podsync"]
|
||||
|
2
Makefile
2
Makefile
@ -16,7 +16,7 @@ build:
|
||||
#
|
||||
.PHONY: docker
|
||||
docker:
|
||||
docker build -t podsync .
|
||||
docker build -t mxpv/podsync:latest .
|
||||
|
||||
#
|
||||
# Pull GolangCI-Lint dependency
|
||||
|
@ -3,7 +3,7 @@ version: '2.2'
|
||||
services:
|
||||
podsync:
|
||||
container_name: podsync
|
||||
image: mxpv/podsync
|
||||
image: mxpv/podsync:latest
|
||||
restart: always
|
||||
ports:
|
||||
- 80:80
|
||||
|
Reference in New Issue
Block a user