CI: Fix compilation problems

This commit is contained in:
nemunaire 2021-09-01 01:27:24 +02:00
commit 3c42bef298
3 changed files with 7 additions and 2 deletions

View file

@ -6,8 +6,9 @@ RUN apk --no-cache add python2 build-base
COPY frontend/ui/ .
RUN npm install --network-timeout 100000
RUN npm run build
RUN npm install --network-timeout=100000 && \
sed -i 's!@popperjs/core/dist/esm/popper!@popperjs/core!' node_modules/sveltestrap/src/*.js node_modules/sveltestrap/src/*.svelte && \
npm run build
FROM nginx:stable-alpine