Removes git from Dockerfile

This commit is contained in:
Amir Raminfar
2022-07-21 14:53:15 -07:00
parent 42fab58c9f
commit c1a16fd76e

View File

@@ -1,7 +1,7 @@
# Build assets
FROM --platform=$BUILDPLATFORM node:18-alpine as node
RUN apk add --no-cache git openssh make g++ util-linux python3 && npm install -g pnpm
RUN apk add --no-cache openssh make g++ util-linux python3 && npm install -g pnpm
WORKDIR /build
@@ -21,7 +21,7 @@ RUN pnpm install -r --offline --prod --ignore-scripts && pnpm build
FROM --platform=$BUILDPLATFORM golang:1.18.4-alpine AS builder
RUN apk add --no-cache git ca-certificates && mkdir /dozzle
RUN apk add --no-cache ca-certificates && mkdir /dozzle
WORKDIR /dozzle