mirror of
https://github.com/DCsunset/taskwarrior-webui.git
synced 2025-08-18 21:43:06 +02:00
build: fix npm build in Dockerfile
This commit is contained in:
parent
c6dfe5218e
commit
3f5a9d6dd7
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,9 @@ COPY ./docker/start.sh /start.sh
|
|||
ENV TASKRC="/.taskrc"
|
||||
ENV TASKDATA="/.task"
|
||||
|
||||
# Fix npm build
|
||||
ENV NODE_OPTIONS="--openssl-legacy-provider"
|
||||
|
||||
# Frontend
|
||||
RUN cd /src/frontend && npm install \
|
||||
&& npm run build && npm run export \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue