Skip to content
Snippets Groups Projects
Commit 34a35d31 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

fix Dockerfile

parent 0e262b65
Branches
No related tags found
No related merge requests found
Pipeline #13148 passed
...@@ -19,11 +19,11 @@ RUN cd frontend; npm install ...@@ -19,11 +19,11 @@ RUN cd frontend; npm install
# Build and copy files # Build and copy files
RUN cd frontend; \ RUN cd frontend; \
npm run build; \ npm run build; \
rm -fr ../server/templates ../server/static; \ rm -fr ../server/server/templates ../server/server/static; \
mkdir ../server/templates ../server/static; \ mkdir ../server/server/templates ../server/server/static; \
cp dist/index.html ../server/templates/; \ cp dist/index.html ../server/server/templates/; \
cp dist/static/* ../server/static/; \ cp dist/static/* ../server/server/static/; \
cp dist/favicon.ico ../server/static/; \ cp dist/favicon.ico ../server/server/static/; \
rm -fr dist rm -fr dist
RUN bash -c "adduser --disabled-login --quiet --gecos app app && \ RUN bash -c "adduser --disabled-login --quiet --gecos app app && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment