Skip to content

Commit

Permalink
fix(dockerfile): supporting credo build
Browse files Browse the repository at this point in the history
Changed from node-alpine to base node.
node-alpine was missing shared library ld-linux-x86-64.so.2.
This lib is required by Askar.

Also removed unneeded package installs.

Signed-off-by: jrhender <[email protected]>
  • Loading branch information
jrhender committed Oct 3, 2024
1 parent 6cf5a3c commit 4d4ae7b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/vc-api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
FROM node:18.19-alpine as base
FROM node:18.19 as base

WORKDIR /app

FROM base as builder

RUN apk add g++ make py3-pip

COPY common common
COPY rush.json .
COPY apps/vc-api/package.json apps/vc-api/package.json
Expand Down

0 comments on commit 4d4ae7b

Please sign in to comment.