Skip to content

Commit

Permalink
馃悑 chore: Revise of PR #2157, move step earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-avila committed Mar 21, 2024
1 parent 09de9a2 commit 3f77fe1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Base node image
FROM node:18-alpine AS node

RUN apk add g++ make py3-pip

RUN mkdir -p /app && chown node:node /app
WORKDIR /app

Expand All @@ -12,10 +14,8 @@ COPY --chown=node:node . .
# values.
RUN touch .env
RUN npm config set fetch-retry-maxtimeout 300000
RUN apk add g++ make py3-pip
RUN npm install -g node-gyp


RUN apk --no-cache add curl && \
npm install --no-audit

Expand Down

0 comments on commit 3f77fe1

Please sign in to comment.