test maj Dockerfile npm install --build-from-source

main
greg 2 years ago
parent acf5cb3186
commit 064a70da53
  1. 2
      Dockerfile

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

Loading…
Cancel
Save