Skip to content

Commit

Permalink
fix dockerfile (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSulpiride committed Mar 25, 2024
1 parent f9e0f42 commit 9983b67
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,6 @@
FROM --platform=${BUILDPLATFORM:-amd64} node:18-alpine as build_src
WORKDIR /usr/app
RUN apk update && apk add --no-cache g++ make python3 && rm -rf /var/cache/apk/*
RUN apk update && apk add --no-cache g++ make python3 git && rm -rf /var/cache/apk/*

COPY . .

Expand All @@ -11,7 +11,7 @@ RUN yarn install --non-interactive --frozen-lockfile && \

FROM node:18-alpine as build_deps
WORKDIR /usr/app
RUN apk update && apk add --no-cache g++ make python3 && rm -rf /var/cache/apk/*
RUN apk update && apk add --no-cache g++ make python3 git && rm -rf /var/cache/apk/*

COPY --from=build_src /usr/app .

Expand Down

0 comments on commit 9983b67

Please sign in to comment.