diff options
author | Jesús <heckyel@hyperbola.info> | 2021-07-04 14:38:49 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-07-04 14:38:49 -0500 |
commit | 5f07a8a46f42f78523272d43670c7787a1de5227 (patch) | |
tree | 757fd7e17c9a3c93d8a2ca8267208f49bfc60566 /core/Dockerfile | |
parent | fb6ae7ef0d962ac28bdc677096c3d658f03bdede (diff) | |
download | yt-local-docker-5f07a8a46f42f78523272d43670c7787a1de5227.tar.lz yt-local-docker-5f07a8a46f42f78523272d43670c7787a1de5227.tar.xz yt-local-docker-5f07a8a46f42f78523272d43670c7787a1de5227.zip |
clean step
Diffstat (limited to 'core/Dockerfile')
-rw-r--r-- | core/Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/Dockerfile b/core/Dockerfile index a573332..b07f525 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -4,7 +4,7 @@ LABEL MAINTAINER="heckyel@riseup.net" ENV LANG C.UTF-8 ENV LC_ALL C.UTF-8 -RUN apk add musl-dev build-base gcc libffi-dev python3-dev patch git py3-pip tor +RUN apk add --no-cache musl-dev build-base gcc libffi-dev python3-dev patch git py3-pip tor ARG APP_DIR="/srv/app" ARG YT_REPO="https://git.sr.ht/~heckyel/yt-local" @@ -21,6 +21,10 @@ RUN pip3 install -r requirements.txt COPY 0001.patch "$APP_DIR/0001.patch" RUN patch -Np1 -i "$APP_DIR/0001.patch" +# clean +RUN rm -f "$APP_DIR/0001.patch" +RUN apk del build-base patch python3-dev + EXPOSE 8080 COPY entrypoint.sh / |