From 2a9176fb233e7816cde43fd92903952e6ca3dfd2 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 21 Mar 2020 23:47:25 +0100 Subject: Fixes ~cedric/newspipe#2. Issue with Docker. --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Dockerfile') 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 -- cgit