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

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

@ -2,7 +2,7 @@ FROM debian:bullseye-slim as builder
WORKDIR /data WORKDIR /data
COPY . . COPY . .
RUN apt update && apt install -y npm 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 && npm run build
FROM alpine FROM alpine
RUN apk update \ RUN apk update \

Loading…
Cancel
Save