1
0
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:
Maksym Pavlenko
2019-11-15 11:35:34 -08:00
parent d09271096b
commit 9cca09d8bb
3 changed files with 6 additions and 9 deletions

View File

@ -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"]

View File

@ -16,7 +16,7 @@ build:
#
.PHONY: docker
docker:
docker build -t podsync .
docker build -t mxpv/podsync:latest .
#
# Pull GolangCI-Lint dependency

View File

@ -3,7 +3,7 @@ version: '2.2'
services:
podsync:
container_name: podsync
image: mxpv/podsync
image: mxpv/podsync:latest
restart: always
ports:
- 80:80