diff options
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 |
commit | dabaae58e2f91b714ae94c5717b1d8d2592a78de (patch) | |
tree | d7cc62a8c53efa7ad16e9ee888fdff1eb68a7a15 /Dockerfile | |
parent | firefox bookmarklet (diff) | |
download | metube-dabaae58e2f91b714ae94c5717b1d8d2592a78de.tar.gz metube-dabaae58e2f91b714ae94c5717b1d8d2592a78de.tar.bz2 metube-dabaae58e2f91b714ae94c5717b1d8d2592a78de.zip |
Add AUDIO_DOWNLOAD_DIR option
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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"]
|