mirror of
https://github.com/alexta69/metube.git
synced 2025-04-01 19:37:35 +03:00
Add tini as entrypoint in Dockerfile
Signed-off-by: Victor Löfgren <victor.lofgren99@pm.me>
This commit is contained in:
parent
8c3fbe03f6
commit
eee43a232e
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ COPY Pipfile* docker-entrypoint.sh ./
|
|||
# Install dependencies
|
||||
RUN sed -i 's/\r$//g' docker-entrypoint.sh && \
|
||||
chmod +x docker-entrypoint.sh && \
|
||||
apk add --update ffmpeg aria2 coreutils shadow su-exec curl && \
|
||||
apk add --update ffmpeg aria2 coreutils shadow su-exec curl tini && \
|
||||
apk add --update --virtual .build-deps gcc g++ musl-dev && \
|
||||
pip install --no-cache-dir pipenv && \
|
||||
pipenv install --system --deploy --clear && \
|
||||
|
@ -37,4 +37,4 @@ ENV STATE_DIR /downloads/.metube
|
|||
ENV TEMP_DIR /downloads
|
||||
VOLUME /downloads
|
||||
EXPOSE 8081
|
||||
CMD [ "./docker-entrypoint.sh" ]
|
||||
ENTRYPOINT ["/sbin/tini", "-g", "--", "./docker-entrypoint.sh"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue