From 0a26d7a9aa04ab2b91e63b46d6caac2e2f023e15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org> Date: Wed, 12 Jul 2023 21:30:39 +0900 Subject: [PATCH] revert dockerfile --- Dockerfile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4afb62bc..6cd6a4a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,14 +17,14 @@ RUN cd server; pip install -r requirements/base.txt RUN cd frontend; npm install # Build and copy files -RUN cd frontend && \ - rm -fr dist && \ - npm run build && \ - rm -fr ../server/server/templates ../server/server/static && \ - mkdir ../server/server/templates ../server/server/static && \ - cp dist/index.html ../server/server/templates/ && \ - cp dist/static/* ../server/server/static/ && \ - cp dist/favicon.ico ../server/server/static/ +RUN cd frontend; \ + npm run build; \ + rm -fr ../server/server/templates ../server/server/static; \ + mkdir ../server/server/templates ../server/server/static; \ + cp dist/index.html ../server/server/templates/; \ + cp dist/static/* ../server/server/static/; \ + cp dist/favicon.ico ../server/server/static/; \ + rm -fr dist RUN bash -c "adduser --disabled-login --quiet --gecos app app && \ chmod -R o+r /app/ && \ -- GitLab