build: fix npm build in Dockerfile

This commit is contained in:
DCsunset 2023-02-09 23:20:45 -05:00
parent c6dfe5218e
commit 3f5a9d6dd7

View file

@ -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 \