test maj Dockerfile npm install --build-from-source
Some checks reported errors
continuous-integration/drone/push Build is failing
continuous-integration/drone Build was killed

This commit is contained in:
greg 2023-06-26 14:21:59 +02:00
parent acf5cb3186
commit 064a70da53

View File

@ -2,7 +2,7 @@ FROM debian:bullseye-slim as builder
WORKDIR /data
COPY . .
RUN apt update && apt install -y npm
RUN npm install -i package.json \
RUN npm install --build-from-source -i package.json \
&& npm run build
FROM alpine
RUN apk update \