Skip to content

Commit

Permalink
install git in our docker
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyrAhmady committed Jan 15, 2024
1 parent ab705f2 commit 67d6090
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.frontend
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM node:16-alpine AS deps
RUN apk add --no-cache libc6-compat
RUN apk add --no-cache libc6-compat git
WORKDIR /app
COPY frontend/package.json frontend/yarn.lock ./frontend/
RUN cd frontend && yarn install --frozen-lockfile

FROM node:16-alpine AS builder
RUN apk add --no-cache git
WORKDIR /app
# Copy everything
COPY . .
Expand Down

0 comments on commit 67d6090

Please sign in to comment.