From 4477af601a7d4f287884e6c35fdf4462a313d472 Mon Sep 17 00:00:00 2001 From: mifi Date: Fri, 12 May 2023 08:13:05 -0400 Subject: [PATCH] Remove git attempts --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9c99993..a00064c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,13 +4,10 @@ ARG PORT=9001 ## mongo build stage FROM mongo:$MONGO_VERSION AS database -RUN apt update && apt install -y git -WORKDIR / COPY mongo-init.js /docker-entrypoint-initdb.d ## stage one, build the service FROM node:20-alpine AS build -RUN apk update && apk add git ENV NODE_ENV development WORKDIR /home/node/app COPY package*.json ./ @@ -22,7 +19,6 @@ RUN yarn build ## this is stage two , where the app actually runs FROM node:20-alpine AS containerize -RUN apk update && apk add git ENV NODE_ENV $ENV WORKDIR /home/node/app COPY package*.json ./