Skip to content

Commit

Permalink
build: no need in build tools as for [email protected] node v18 precomp…
Browse files Browse the repository at this point in the history
…iled binaries are available (#372)
  • Loading branch information
pmstss authored Aug 28, 2024
1 parent 2af1760 commit adb4bc5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ FROM node:18-alpine AS build

WORKDIR /usr/src/app

RUN apk add --no-cache --virtual .gyp python3 py3-pip make g++

# Copy and build NestJS server project
COPY --chown=node:node package*.json ./
COPY --chown=node:node tsconfig.build.json ./
Expand Down Expand Up @@ -35,8 +33,6 @@ ENV CYPRESS_INSTALL_BINARY=0
RUN npm ci --prefix=client
RUN npm run build --prefix=client

RUN apk del .gyp

USER node

###################
Expand Down

0 comments on commit adb4bc5

Please sign in to comment.