mirror of
https://github.com/DCsunset/taskwarrior-webui.git
synced 2025-08-24 05:56:42 +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 TASKRC="/.taskrc"
|
||||||
ENV TASKDATA="/.task"
|
ENV TASKDATA="/.task"
|
||||||
|
|
||||||
|
# Fix npm build
|
||||||
|
ENV NODE_OPTIONS="--openssl-legacy-provider"
|
||||||
|
|
||||||
# Frontend
|
# Frontend
|
||||||
RUN cd /src/frontend && npm install \
|
RUN cd /src/frontend && npm install \
|
||||||
&& npm run build && npm run export \
|
&& npm run build && npm run export \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue