fix: docker file command npm run build

This commit is contained in:
alex 2023-04-20 16:01:03 +08:00
parent c076e02b41
commit 874f934555

View File

@ -7,7 +7,7 @@ COPY ./web/frps/package.json .
RUN npm install --no-audit --progress=false --prefer-offline RUN npm install --no-audit --progress=false --prefer-offline
COPY ./web/frps/ . COPY ./web/frps/ .
RUN npm install && npm build RUN npm install && npm run build
# step 2: build frps # step 2: build frps
FROM golang:1.20 AS building FROM golang:1.20 AS building