test maj Dockerfile npm install --build-from-source
This commit is contained in:
parent
acf5cb3186
commit
064a70da53
@ -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…
x
Reference in New Issue
Block a user