Skip to content

Commit

Permalink
fixed issue caused by node-gyp
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfischetti committed Feb 7, 2025
1 parent 8e73265 commit b8e511a
Show file tree
Hide file tree
Showing 5 changed files with 2,571 additions and 1,743 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ TODO.md
!.next/standalone
!.next/static
.git
package-lock.json
*.secret
mk-ppd-db
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ gmon.out
callgrind.out.*

# node things
package-lock.json
node_modules/
.env
.env.development.local
Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ RUN <<EOF
apt-get install -qq -y --no-install-recommends sqlite3 make
EOF

RUN npm i -g pnpm


# --- image for installing node dependencies ----- #
FROM base AS dependencies

WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm i --frozen-lockfile
COPY package.json package-lock.json ./
RUN npm ci


# --- image for building app --------------------- #
Expand Down
Loading

0 comments on commit b8e511a

Please sign in to comment.