Skip to content

Commit

Permalink
fix: docker: alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Mar 18, 2024
1 parent b2478a8 commit 857c970
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ COPY package.json /usr/src/app/

RUN npm config set package-lock false && \
npm install --production && \
apk update && \
apk add --no-cache bash make g++ python3 && \
npm i gritty && \
npm cache clean --force && \
apk del make g++ python3 && \
rm -rf /usr/include /tmp/* /var/cache/apk/*

COPY . /usr/src/app
Expand Down

0 comments on commit 857c970

Please sign in to comment.