mirror of
https://github.com/DCsunset/taskwarrior-webui.git
synced 2025-08-18 21:43:06 +02:00
build: fix commands in dockerfile
This commit is contained in:
parent
e22763611e
commit
8a66ab17dd
1 changed files with 2 additions and 2 deletions
|
@ -18,13 +18,13 @@ ENV TASKDATA="/.task"
|
|||
ENV NODE_OPTIONS="--openssl-legacy-provider"
|
||||
|
||||
# Frontend
|
||||
RUN cd /src/frontend && npm install \
|
||||
RUN cd /src/frontend && npm ci \
|
||||
&& npm run build && npm run export \
|
||||
&& cp -r /src/frontend/dist /static \
|
||||
&& rm -r /src/frontend
|
||||
|
||||
# Backend
|
||||
RUN cd /src/backend && npm install \
|
||||
RUN cd /src/backend && npm ci \
|
||||
&& npm run build \
|
||||
&& npm prune --production \
|
||||
&& rm -r /src/backend/src
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue