aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorÖmer Erdinç Yağmurlu <omeryagmurlu@gmail.com>2021-07-25 00:31:58 +0200
committerÖmer Erdinç Yağmurlu <omeryagmurlu@gmail.com>2021-07-25 00:31:58 +0200
commitdabaae58e2f91b714ae94c5717b1d8d2592a78de (patch)
treed7cc62a8c53efa7ad16e9ee888fdff1eb68a7a15 /Dockerfile
parentfirefox bookmarklet (diff)
downloadmetube-dabaae58e2f91b714ae94c5717b1d8d2592a78de.tar.gz
metube-dabaae58e2f91b714ae94c5717b1d8d2592a78de.tar.bz2
metube-dabaae58e2f91b714ae94c5717b1d8d2592a78de.zip
Add AUDIO_DOWNLOAD_DIR option
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 2405d1b..1f19971 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ FROM node as builder
WORKDIR /metube
COPY ui ./
-RUN npm install && \
+RUN npm ci && \
node_modules/.bin/ng build --prod
@@ -25,6 +25,7 @@ COPY app ./app
COPY --from=builder /metube/dist/metube ./ui/dist/metube
ENV DOWNLOAD_DIR /downloads
+ENV AUDIO_DOWNLOAD_DIR /downloads
VOLUME /downloads
EXPOSE 8081
CMD ["python3", "app/main.py"]
bgstack15