Update Dockerfile

This commit is contained in:
netop://ウエハ 2022-11-05 17:37:11 -07:00 committed by GitHub
parent 67240f84db
commit f56332c267
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ COPY package.json /opt/hsd
# Install build dependencies and compile. # Install build dependencies and compile.
FROM base AS build FROM base AS build
RUN apk add --no-cache g++ gcc make python3 RUN apk add --no-cache g++ gcc make python3
RUN npm install --production RUN npm install --omit=dev
FROM base FROM base
ENV PATH="${PATH}:/opt/hsd/bin:/opt/hsd/node_modules/.bin" ENV PATH="${PATH}:/opt/hsd/bin:/opt/hsd/node_modules/.bin"