aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-21 23:47:25 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-21 23:47:25 +0100
commit2a9176fb233e7816cde43fd92903952e6ca3dfd2 (patch)
tree6a5c3edd07ae460ba98c0c9a97d7cb0caecd28ed /Dockerfile
parentimproved signup template. (diff)
downloadnewspipe-2a9176fb233e7816cde43fd92903952e6ca3dfd2.tar.gz
newspipe-2a9176fb233e7816cde43fd92903952e6ca3dfd2.tar.bz2
newspipe-2a9176fb233e7816cde43fd92903952e6ca3dfd2.zip
Fixes ~cedric/newspipe#2. Issue with Docker.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index b43d1a2e..c65b41f0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -28,8 +28,10 @@ COPY wait-for-postgres.sh .
RUN chmod +x ./wait-for-postgres.sh
+RUN mkdir node_modules
RUN npm install
-COPY node_modules newspipe/static/npm_components
+RUN mkdir -p newspipe/static/npm_components
+RUN cp -R node_modules/* newspipe/static/npm_components/
RUN pip install poetry
RUN poetry install
bgstack15